Speed up the physics engine: hook the SOLID broad phase, so we can either reject...
[blender.git] / source / gameengine / Physics / Sumo / SumoPhysicsEnvironment.cpp
index 151c55d75de8fd74c1347d581c1e41bd4262ddea..f035bfb4cf2c188d3f05ac99bcdb958498937c58 100644 (file)
@@ -62,9 +62,19 @@ MT_Scalar SumoPhysicsEnvironment::getTicRate()
        return PhysicsTicRate;
 }
 
-void SumoPhysicsEnvironment::proceed(double curtime)
+void SumoPhysicsEnvironment::beginFrame()
 {
-       m_sumoScene->proceed(curtime, PhysicsTicRate);
+       m_sumoScene->beginFrame();
+}
+
+void SumoPhysicsEnvironment::endFrame()
+{
+       m_sumoScene->endFrame();
+}
+
+bool SumoPhysicsEnvironment::proceed(double curtime)
+{
+       return m_sumoScene->proceed(curtime, PhysicsTicRate);
 }
 
 void SumoPhysicsEnvironment::setGravity(float x,float y,float z)