Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/extern
diff options
context:
space:
mode:
authorErwin Coumans <blender@erwincoumans.com>2006-12-28 22:02:31 +0300
committerErwin Coumans <blender@erwincoumans.com>2006-12-28 22:02:31 +0300
commit3ded473e447dc1d7226bba9a748e1d9cc1ec7b86 (patch)
tree467886d198b0be2856d0d3a2e9424e41e525f40e /extern
parent8866a62c8f6ce3e2b8cbd1301baf60767f2b5fdb (diff)
fixed remaining sqrtf into btSqrt
Diffstat (limited to 'extern')
-rw-r--r--extern/bullet2/src/BulletCollision/CollisionDispatch/SphereTriangleDetector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/extern/bullet2/src/BulletCollision/CollisionDispatch/SphereTriangleDetector.cpp b/extern/bullet2/src/BulletCollision/CollisionDispatch/SphereTriangleDetector.cpp
index 1b25006deec..0d76b1013f9 100644
--- a/extern/bullet2/src/BulletCollision/CollisionDispatch/SphereTriangleDetector.cpp
+++ b/extern/bullet2/src/BulletCollision/CollisionDispatch/SphereTriangleDetector.cpp
@@ -147,7 +147,7 @@ bool SphereTriangleDetector::collide(const btVector3& sphereCenter,btVector3 &po
btVector3 contactToCentre = c - contactPoint;
float distanceSqr = contactToCentre.length2();
if (distanceSqr < (r - MAX_OVERLAP)*(r - MAX_OVERLAP)) {
- float distance = sqrtf(distanceSqr);
+ float distance = btSqrt(distanceSqr);
if (1)
{
resultNormal = contactToCentre;