Changeset 2907 for code/branches/questsystem5/src/bullet/BulletDynamics/ConstraintSolver/btSliderConstraint.h
- Timestamp:
- Apr 8, 2009, 12:36:08 AM (16 years ago)
- Location:
- code/branches/questsystem5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem5
- Property svn:mergeinfo changed
-
code/branches/questsystem5/src/bullet/BulletDynamics/ConstraintSolver/btSliderConstraint.h
r2662 r2907 47 47 { 48 48 protected: 49 ///for backwards compatibility during the transition to 'getInfo/getInfo2' 50 bool m_useSolveConstraintObsolete; 49 51 btTransform m_frameInA; 50 52 btTransform m_frameInB; … … 105 107 106 108 btScalar m_linPos; 109 btScalar m_angPos; 107 110 108 111 btScalar m_angDepth; … … 127 130 // overrides 128 131 virtual void buildJacobian(); 129 virtual void solveConstraint(btScalar timeStep); 132 virtual void getInfo1 (btConstraintInfo1* info); 133 134 virtual void getInfo2 (btConstraintInfo2* info); 135 136 virtual void solveConstraintObsolete(btSolverBody& bodyA,btSolverBody& bodyB,btScalar timeStep); 137 138 130 139 // access 131 140 const btRigidBody& getRigidBodyA() const { return m_rbA; } … … 195 204 btScalar getMaxAngMotorForce() { return m_maxAngMotorForce; } 196 205 btScalar getLinearPos() { return m_linPos; } 206 197 207 198 208 // access for ODE solver … … 203 213 // internal 204 214 void buildJacobianInt(btRigidBody& rbA, btRigidBody& rbB, const btTransform& frameInA, const btTransform& frameInB); 205 void solveConstraintInt(btRigidBody& rbA, bt RigidBody& rbB);215 void solveConstraintInt(btRigidBody& rbA, btSolverBody& bodyA,btRigidBody& rbB, btSolverBody& bodyB); 206 216 // shared code used by ODE solver 207 217 void calculateTransforms(void); 208 218 void testLinLimits(void); 219 void testLinLimits2(btConstraintInfo2* info); 209 220 void testAngLimits(void); 210 221 // access for PE Solver
Note: See TracChangeset
for help on using the changeset viewer.