add a waiting message, during startup of a demo.
fix an OpenCL kernel, broken in previous commit.
This commit is contained in:
@@ -74,7 +74,7 @@ inline void b3IntegrateTransform( __global b3RigidBodyData_t* body, float timeSt
|
||||
body->m_angVel.z *= angularDamping;
|
||||
|
||||
b3Float4 angvel = body->m_angVel;
|
||||
float fAngle = b3Sqrt(b3Dot(angvel, angvel));
|
||||
float fAngle = b3Sqrt(b3Dot3F4(angvel, angvel));
|
||||
//limit the angular motion
|
||||
if(fAngle*timeStep > BT_GPU_ANGULAR_MOTION_THRESHOLD)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user