22 #include <Box2D/Common/b2Math.h>
23 #include <Box2D/Common/b2BlockAllocator.h>
24 #include <Box2D/Common/b2StackAllocator.h>
25 #include <Box2D/Dynamics/b2ContactManager.h>
26 #include <Box2D/Dynamics/b2WorldCallbacks.h>
27 #include <Box2D/Dynamics/b2TimeStep.h>
94 void Step( float32 timeStep,
95 int32 velocityIterations,
96 int32 positionIterations);
146 bool GetAllowSleeping()
const {
return m_allowSleep; }
150 bool GetWarmStarting()
const {
return m_warmStarting; }
154 bool GetContinuousPhysics()
const {
return m_continuousPhysics; }
158 bool GetSubStepping()
const {
return m_subStepping; }
217 e_newFixture = 0x0001,
219 e_clearForces = 0x0004
225 friend class b2Controller;
227 void Solve(
const b2TimeStep& step);
228 void SolveTOI(
const b2TimeStep& step);
230 void DrawJoint(
b2Joint* joint);
258 bool m_continuousPhysics;
288 return m_contactManager.m_contactList;
293 return m_contactManager.m_contactList;
308 return m_contactManager.m_contactCount;
323 return (m_flags & e_locked) == e_locked;
330 m_flags |= e_clearForces;
334 m_flags &= ~e_clearForces;
341 return (m_flags & e_clearForces) == e_clearForces;
346 return m_contactManager;