20 #ifndef TG_WORLDBULLETPHYSICSIMPL_H
21 #define TG_WORLDBULLETPHYSICSIMPL_H
33 #include "LinearMath/btAlignedObjectArray.h"
38 class btCollisionShape;
39 class btTypedConstraint;
40 class btDynamicsWorld;
43 class btBroadphaseInterface;
74 virtual void step(
double dt);
82 return *m_pDynamicsWorld;
110 void removeCollisionShapes();
116 void removeConstraints();
123 btDynamicsWorld* createDynamicsWorld()
const;
126 bool invariant()
const;
137 btDynamicsWorld* m_pDynamicsWorld;
145 btAlignedObjectArray<btCollisionShape*> m_collisionShapes;
152 btAlignedObjectArray<btTypedConstraint*> m_constraints;
155 #endif // TG_WORLDBULLETPHYSICSIMPL_H
~tgWorldBulletPhysicsImpl()
Contains the definition of class tgWorldImpl.
btDynamicsWorld & dynamicsWorld() const
tgWorldBulletPhysicsImpl(const tgWorld::Config &config, tgBulletGround *ground)
void addConstraint(btTypedConstraint *pConstaint)
Contains the definition of class tgWorld $Id$.
virtual void step(double dt)
void addCollisionShape(btCollisionShape *pShape)
void deleteCollisionShape(btCollisionShape *pShape)