From 51830fa0e2d10131f9162828ddb313460f070ada Mon Sep 17 00:00:00 2001 From: Kester Maddock Date: Fri, 2 Apr 2004 12:35:48 +0000 Subject: Speed up the physics engine by cutting down on the number of fix pass iterations. --- source/gameengine/Physics/Sumo/Fuzzics/include/SM_Object.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/gameengine/Physics/Sumo/Fuzzics/include') diff --git a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Object.h b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Object.h index c84a3c2ff56..aec4a410e1f 100644 --- a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Object.h +++ b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Object.h @@ -267,10 +267,10 @@ private: actualAngVelocity( ) const ; - void dynamicCollision(MT_Point3 local2, - MT_Vector3 normal, + bool dynamicCollision(const MT_Point3 &local2, + const MT_Vector3 &normal, MT_Scalar dist, - MT_Vector3 rel_vel, + const MT_Vector3 &rel_vel, MT_Scalar restitution, MT_Scalar friction_factor, MT_Scalar invMass -- cgit v1.2.3