Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKester Maddock <Christopher.Maddock.1@uni.massey.ac.nz>2004-04-02 16:35:48 +0400
committerKester Maddock <Christopher.Maddock.1@uni.massey.ac.nz>2004-04-02 16:35:48 +0400
commit51830fa0e2d10131f9162828ddb313460f070ada (patch)
tree7ae4bbb8a1c2ac86cc0136c060acd99bcbd64399 /source/gameengine/Physics/Sumo/Fuzzics/include
parente5749a632e84fd0c8e4b174aa9c6d727998d3f41 (diff)
Speed up the physics engine by cutting down on the number of fix pass iterations.
Diffstat (limited to 'source/gameengine/Physics/Sumo/Fuzzics/include')
-rw-r--r--source/gameengine/Physics/Sumo/Fuzzics/include/SM_Object.h6
1 files changed, 3 insertions, 3 deletions
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