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

@@ -98,8 +98,6 @@ public:
{
btQuaternion orn1 = orn0.nearest(orn1a);
btQuaternion dorn = orn1 * orn0.inverse();
///floating point inaccuracy can lead to w component > 1..., which breaks
dorn.normalize();
angle = dorn.getAngle();
axis = btVector3(dorn.x(),dorn.y(),dorn.z());
axis[3] = btScalar(0.);