diff options
Diffstat (limited to 'source/gameengine/Physics/Sumo/Fuzzics/include')
-rw-r--r-- | source/gameengine/Physics/Sumo/Fuzzics/include/SM_Object.h | 1 | ||||
-rw-r--r-- | source/gameengine/Physics/Sumo/Fuzzics/include/SM_Scene.h | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Object.h b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Object.h index db7f5f07603..54574f9fc55 100644 --- a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Object.h +++ b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Object.h @@ -227,6 +227,7 @@ public: SM_Object *getDynamicParent() ; + void beginFrame(); void integrateForces(MT_Scalar timeStep); void integrateMomentum(MT_Scalar timeSteo); diff --git a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Scene.h b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Scene.h index 7afa2a59084..1c11df66c38 100644 --- a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Scene.h +++ b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Scene.h @@ -107,7 +107,7 @@ public: // The maximum time interval between two collision checks. // 'subSampling' can be used to control aliasing effects // (fast moving objects traversing through walls and such). - void proceed(MT_Scalar timeStep, MT_Scalar subSampling); + void proceed(MT_Scalar curtime, MT_Scalar ticrate); /** * Test whether any objects lie on the line defined by from and @@ -178,6 +178,8 @@ private: * timestep. The list is built during the proceed(). During that * time, it is not valid. */ T_PairList m_pairList; + + MT_Scalar m_lastTime; }; #endif |