update Bullet 2.x with latest changes, notice that the integration is not finished...
[blender.git] / extern / bullet2 / src / LinearMath / btTransformUtil.h
index da8e4aa72a829fa55a995a2e491358500c155518..12ca634c23278396230897f6771243f3a2068d0c 100644 (file)
@@ -17,7 +17,7 @@ subject to the following restrictions:
 #define SIMD_TRANSFORM_UTIL_H
 
 #include "LinearMath/btTransform.h"
-#define ANGULAR_MOTION_TRESHOLD 0.5f*SIMD_HALF_PI
+#define ANGULAR_MOTION_THRESHOLD 0.5f*SIMD_HALF_PI
 
 
 
@@ -82,9 +82,9 @@ public:
                btVector3 axis;
                btScalar        fAngle = angvel.length(); 
                //limit the angular motion
-               if (fAngle*timeStep > ANGULAR_MOTION_TRESHOLD)
+               if (fAngle*timeStep > ANGULAR_MOTION_THRESHOLD)
                {
-                       fAngle = ANGULAR_MOTION_TRESHOLD / timeStep;
+                       fAngle = ANGULAR_MOTION_THRESHOLD / timeStep;
                }
 
                if ( fAngle < 0.001f )