From d4b518ecaecaa6e2e9aee443142b77113c2dc7c2 Mon Sep 17 00:00:00 2001 From: Federico Bertola <8020907+fbertola@users.noreply.github.com> Date: Wed, 21 Oct 2020 15:59:51 +0200 Subject: [PATCH] Fixed reference to 'sqrt' (#2293) --- examples/common/bounds.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/common/bounds.cpp b/examples/common/bounds.cpp index 967d4647c..3efefa5b6 100644 --- a/examples/common/bounds.cpp +++ b/examples/common/bounds.cpp @@ -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) )