Speed up the physics engine: hook the SOLID broad phase, so we can either reject...
[blender.git] / source / gameengine / Physics / common / PHY_IPhysicsEnvironment.h
index 1eabc4bfd64a8549324909e12b6c048435ec8f60..0fdac35f514c729fe61118255ad478d1a4321b40 100644 (file)
@@ -43,8 +43,10 @@ class PHY_IPhysicsEnvironment
 {
        public:
                virtual         ~PHY_IPhysicsEnvironment();
+               virtual void            beginFrame() = 0;
+               virtual void            endFrame() = 0;
                /// Perform an integration step of duration 'timeStep'.
-               virtual void            proceed(double  timeStep)=0;
+               virtual bool            proceed(double  timeStep)=0;
                virtual void            setGravity(float x,float y,float z)=0;
 
                virtual int                     createConstraint(class PHY_IPhysicsController* ctrl,class PHY_IPhysicsController* ctrl2,PHY_ConstraintType type,