- Timestamp:
- Oct 20, 2008, 5:40:38 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/physics/src/bullet/BulletSoftBody/btSoftRigidDynamicsWorld.h
r1963 r1972 24 24 class btSoftRigidDynamicsWorld : public btDiscreteDynamicsWorld 25 25 { 26 26 27 27 btSoftBodyArray m_softBodies; 28 28 int m_drawFlags; … … 33 33 34 34 protected: 35 35 36 36 virtual void predictUnconstraintMotion(btScalar timeStep); 37 37 38 38 virtual void internalSingleStepSimulation( btScalar timeStep); 39 39 … … 44 44 45 45 public: 46 46 47 47 btSoftRigidDynamicsWorld(btDispatcher* dispatcher,btBroadphaseInterface* pairCache,btConstraintSolver* constraintSolver,btCollisionConfiguration* collisionConfiguration); 48 48 49 49 virtual ~btSoftRigidDynamicsWorld(); 50 50 51 51 virtual void debugDrawWorld(); 52 52 53 53 void addSoftBody(btSoftBody* body); 54 54 55 55 void removeSoftBody(btSoftBody* body); 56 56 57 57 int getDrawFlags() const { return(m_drawFlags); } 58 58 void setDrawFlags(int f) { m_drawFlags=f; } … … 67 67 } 68 68 69 69 70 70 btSoftBodyArray& getSoftBodyArray() 71 71 { … … 77 77 return m_softBodies; 78 78 } 79 79 80 80 }; 81 81
Note: See TracChangeset
for help on using the changeset viewer.