Changeset 2908 for code/branches/questsystem5/src/bullet/BulletDynamics/ConstraintSolver/btSliderConstraint.h
- Timestamp:
- Apr 8, 2009, 12:58:47 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
r2907 r2908 47 47 { 48 48 protected: 49 ///for backwards compatibility during the transition to 'getInfo/getInfo2'50 bool m_useSolveConstraintObsolete;51 49 btTransform m_frameInA; 52 50 btTransform m_frameInB; … … 107 105 108 106 btScalar m_linPos; 109 btScalar m_angPos;110 107 111 108 btScalar m_angDepth; … … 130 127 // overrides 131 128 virtual void buildJacobian(); 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 129 virtual void solveConstraint(btScalar timeStep); 139 130 // access 140 131 const btRigidBody& getRigidBodyA() const { return m_rbA; } … … 204 195 btScalar getMaxAngMotorForce() { return m_maxAngMotorForce; } 205 196 btScalar getLinearPos() { return m_linPos; } 206 207 197 208 198 // access for ODE solver … … 213 203 // internal 214 204 void buildJacobianInt(btRigidBody& rbA, btRigidBody& rbB, const btTransform& frameInA, const btTransform& frameInB); 215 void solveConstraintInt(btRigidBody& rbA, bt SolverBody& bodyA,btRigidBody& rbB, btSolverBody& bodyB);205 void solveConstraintInt(btRigidBody& rbA, btRigidBody& rbB); 216 206 // shared code used by ODE solver 217 207 void calculateTransforms(void); 218 208 void testLinLimits(void); 219 void testLinLimits2(btConstraintInfo2* info);220 209 void testAngLimits(void); 221 210 // access for PE Solver
Note: See TracChangeset
for help on using the changeset viewer.