Changeset 8393 for code/trunk/src/external/bullet/BulletDynamics/ConstraintSolver/btConeTwistConstraint.h
- Timestamp:
- May 3, 2011, 5:07:42 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/external/bullet/BulletDynamics/ConstraintSolver/btConeTwistConstraint.h
r8351 r8393 34 34 35 35 36 #ifndef CONETWISTCONSTRAINT_H37 #define CONETWISTCONSTRAINT_H36 #ifndef BT_CONETWISTCONSTRAINT_H 37 #define BT_CONETWISTCONSTRAINT_H 38 38 39 39 #include "LinearMath/btVector3.h" … … 144 144 145 145 void updateRHS(btScalar timeStep); 146 146 147 147 148 const btRigidBody& getRigidBodyA() const … … 245 246 bool isPastSwingLimit() { return m_solveSwingLimit; } 246 247 247 248 248 void setDamping(btScalar damping) { m_damping = damping; } 249 249 … … 269 269 ///If no axis is provided, it uses the default axis for this constraint. 270 270 virtual void setParam(int num, btScalar value, int axis = -1); 271 272 virtual void setFrames(const btTransform& frameA, const btTransform& frameB); 273 274 const btTransform& getFrameOffsetA() const 275 { 276 return m_rbAFrame; 277 } 278 279 const btTransform& getFrameOffsetB() const 280 { 281 return m_rbBFrame; 282 } 283 284 271 285 ///return the local value of parameter 272 286 virtual btScalar getParam(int num, int axis = -1) const; … … 330 344 331 345 332 #endif // CONETWISTCONSTRAINT_H346 #endif //BT_CONETWISTCONSTRAINT_H
Note: See TracChangeset
for help on using the changeset viewer.