Fixed reference to 'sqrt' (#2293)

This commit is contained in:
Federico Bertola
2020-10-21 15:59:51 +02:00
committed by GitHub
parent 0f156c682c
commit d4b518ecae

View File

@@ -1822,7 +1822,7 @@ bool overlap(const Plane& _plane, const Cone& _cone)
const float bb = len;
const float aa = _cone.radius;
const float cc = sqrt(square(aa) + square(bb) );
const float cc = bx::sqrt(square(aa) + square(bb) );
const Vec3 pos = add(add(_cone.end
, mul(dir, len * bb/cc) )