فهرست منبع

Fixed reference to 'sqrt' (#2293)

Federico Bertola 5 سال پیش
والد
کامیت
d4b518ecae
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      examples/common/bounds.cpp

+ 1 - 1
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) )