Changeset View
Changeset View
Standalone View
Standalone View
extern/bullet2/src/BulletDynamics/ConstraintSolver/btTypedConstraint.h
| Show All 38 Lines | enum btTypedConstraintType | ||||
| HINGE_CONSTRAINT_TYPE, | HINGE_CONSTRAINT_TYPE, | ||||
| CONETWIST_CONSTRAINT_TYPE, | CONETWIST_CONSTRAINT_TYPE, | ||||
| D6_CONSTRAINT_TYPE, | D6_CONSTRAINT_TYPE, | ||||
| SLIDER_CONSTRAINT_TYPE, | SLIDER_CONSTRAINT_TYPE, | ||||
| CONTACT_CONSTRAINT_TYPE, | CONTACT_CONSTRAINT_TYPE, | ||||
| D6_SPRING_CONSTRAINT_TYPE, | D6_SPRING_CONSTRAINT_TYPE, | ||||
| GEAR_CONSTRAINT_TYPE, | GEAR_CONSTRAINT_TYPE, | ||||
| FIXED_CONSTRAINT_TYPE, | FIXED_CONSTRAINT_TYPE, | ||||
| D6_SPRING_2_CONSTRAINT_TYPE, | |||||
| MAX_CONSTRAINT_TYPE | MAX_CONSTRAINT_TYPE | ||||
| }; | }; | ||||
| enum btConstraintParams | enum btConstraintParams | ||||
| { | { | ||||
| BT_CONSTRAINT_ERP=1, | BT_CONSTRAINT_ERP=1, | ||||
| BT_CONSTRAINT_STOP_ERP, | BT_CONSTRAINT_STOP_ERP, | ||||
| BT_CONSTRAINT_CFM, | BT_CONSTRAINT_CFM, | ||||
| BT_CONSTRAINT_STOP_CFM | BT_CONSTRAINT_STOP_CFM | ||||
| }; | }; | ||||
| #if 1 | #if 1 | ||||
| #define btAssertConstrParams(_par) btAssert(_par) | #define btAssertConstrParams(_par) btAssert(_par) | ||||
| #else | #else | ||||
| #define btAssertConstrParams(_par) | #define btAssertConstrParams(_par) | ||||
| #endif | #endif | ||||
| ATTRIBUTE_ALIGNED16(struct) btJointFeedback | ATTRIBUTE_ALIGNED16(struct) btJointFeedback | ||||
| { | { | ||||
| BT_DECLARE_ALIGNED_ALLOCATOR(); | |||||
| btVector3 m_appliedForceBodyA; | btVector3 m_appliedForceBodyA; | ||||
| btVector3 m_appliedTorqueBodyA; | btVector3 m_appliedTorqueBodyA; | ||||
| btVector3 m_appliedForceBodyB; | btVector3 m_appliedForceBodyB; | ||||
| btVector3 m_appliedTorqueBodyB; | btVector3 m_appliedTorqueBodyB; | ||||
| }; | }; | ||||
| ///TypedConstraint is the baseclass for Bullet constraints and vehicles | ///TypedConstraint is the baseclass for Bullet constraints and vehicles | ||||
| ▲ Show 20 Lines • Show All 469 Lines • Show Last 20 Lines | |||||