Differential D1739 Diff 5899 extern/bullet2/src/BulletDynamics/ConstraintSolver/btTypedConstraint.cpp
Changeset View
Changeset View
Standalone View
Standalone View
extern/bullet2/src/BulletDynamics/ConstraintSolver/btTypedConstraint.cpp
| Show All 18 Lines | |||||
| #include "LinearMath/btSerializer.h" | #include "LinearMath/btSerializer.h" | ||||
| #define DEFAULT_DEBUGDRAW_SIZE btScalar(0.3f) | #define DEFAULT_DEBUGDRAW_SIZE btScalar(0.3f) | ||||
| btTypedConstraint::btTypedConstraint(btTypedConstraintType type, btRigidBody& rbA) | btTypedConstraint::btTypedConstraint(btTypedConstraintType type, btRigidBody& rbA) | ||||
| :btTypedObject(type), | :btTypedObject(type), | ||||
| m_userConstraintType(-1), | m_userConstraintType(-1), | ||||
| m_userConstraintId(-1), | m_userConstraintPtr((void*)-1), | ||||
| m_breakingImpulseThreshold(SIMD_INFINITY), | m_breakingImpulseThreshold(SIMD_INFINITY), | ||||
| m_isEnabled(true), | m_isEnabled(true), | ||||
| m_needsFeedback(false), | m_needsFeedback(false), | ||||
| m_overrideNumSolverIterations(-1), | m_overrideNumSolverIterations(-1), | ||||
| m_rbA(rbA), | m_rbA(rbA), | ||||
| m_rbB(getFixedBody()), | m_rbB(getFixedBody()), | ||||
| m_appliedImpulse(btScalar(0.)), | m_appliedImpulse(btScalar(0.)), | ||||
| m_dbgDrawSize(DEFAULT_DEBUGDRAW_SIZE), | m_dbgDrawSize(DEFAULT_DEBUGDRAW_SIZE), | ||||
| m_jointFeedback(0) | m_jointFeedback(0) | ||||
| { | { | ||||
| } | } | ||||
| btTypedConstraint::btTypedConstraint(btTypedConstraintType type, btRigidBody& rbA,btRigidBody& rbB) | btTypedConstraint::btTypedConstraint(btTypedConstraintType type, btRigidBody& rbA,btRigidBody& rbB) | ||||
| :btTypedObject(type), | :btTypedObject(type), | ||||
| m_userConstraintType(-1), | m_userConstraintType(-1), | ||||
| m_userConstraintId(-1), | m_userConstraintPtr((void*)-1), | ||||
| m_breakingImpulseThreshold(SIMD_INFINITY), | m_breakingImpulseThreshold(SIMD_INFINITY), | ||||
| m_isEnabled(true), | m_isEnabled(true), | ||||
| m_needsFeedback(false), | m_needsFeedback(false), | ||||
| m_overrideNumSolverIterations(-1), | m_overrideNumSolverIterations(-1), | ||||
| m_rbA(rbA), | m_rbA(rbA), | ||||
| m_rbB(rbB), | m_rbB(rbB), | ||||
| m_appliedImpulse(btScalar(0.)), | m_appliedImpulse(btScalar(0.)), | ||||
| m_dbgDrawSize(DEFAULT_DEBUGDRAW_SIZE), | m_dbgDrawSize(DEFAULT_DEBUGDRAW_SIZE), | ||||
| ▲ Show 20 Lines • Show All 170 Lines • Show Last 20 Lines | |||||