removed normalize (btAcos has clamping) and removed assert in btAcos.

This commit is contained in:
erwin.coumans
2009-12-21 23:43:59 +00:00
parent db25e21fde
commit b5218f3ca7
2 changed files with 0 additions and 3 deletions

View File

@@ -249,7 +249,6 @@ SIMD_FORCE_INLINE btScalar btCos(btScalar x) { return cosf(x); }
SIMD_FORCE_INLINE btScalar btSin(btScalar x) { return sinf(x); }
SIMD_FORCE_INLINE btScalar btTan(btScalar x) { return tanf(x); }
SIMD_FORCE_INLINE btScalar btAcos(btScalar x) {
btAssert(x <= btScalar(1.));
if (x<btScalar(-1))
x=btScalar(-1);
if (x>btScalar(1))