Advertisement
Guest User

btTypedConstraint init

a guest
Jan 26th, 2014
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.78 KB | None | 0 0
  1.  src/Bullet3Dynamics/ConstraintSolver/b3TypedConstraint.cpp |    2 +-
  2.  src/BulletDynamics/ConstraintSolver/btTypedConstraint.cpp  |    4 ++--
  3.  2 files changed, 3 insertions(+), 3 deletions(-)
  4.  
  5. diff --git a/src/Bullet3Dynamics/ConstraintSolver/b3TypedConstraint.cpp b/src/Bullet3Dynamics/ConstraintSolver/b3TypedConstraint.cpp
  6. index dad4d5f..699c481 100644
  7. --- a/src/Bullet3Dynamics/ConstraintSolver/b3TypedConstraint.cpp
  8. +++ b/src/Bullet3Dynamics/ConstraintSolver/b3TypedConstraint.cpp
  9. @@ -25,7 +25,7 @@ subject to the following restrictions:
  10.  b3TypedConstraint::b3TypedConstraint(b3TypedConstraintType type, int rbA,int rbB)
  11.  :b3TypedObject(type),
  12.  m_userConstraintType(-1),
  13. -m_userConstraintId(-1),
  14. +m_userConstraintPtr((void*)-1),
  15.  m_breakingImpulseThreshold(B3_INFINITY),
  16.  m_isEnabled(true),
  17.  m_needsFeedback(false),
  18. diff --git a/src/BulletDynamics/ConstraintSolver/btTypedConstraint.cpp b/src/BulletDynamics/ConstraintSolver/btTypedConstraint.cpp
  19. index 27fdd9d..736a64a 100644
  20. --- a/src/BulletDynamics/ConstraintSolver/btTypedConstraint.cpp
  21. +++ b/src/BulletDynamics/ConstraintSolver/btTypedConstraint.cpp
  22. @@ -24,7 +24,7 @@ subject to the following restrictions:
  23.  btTypedConstraint::btTypedConstraint(btTypedConstraintType type, btRigidBody& rbA)
  24.  :btTypedObject(type),
  25.  m_userConstraintType(-1),
  26. -m_userConstraintId(-1),
  27. +m_userConstraintPtr((void*)-1),
  28.  m_breakingImpulseThreshold(SIMD_INFINITY),
  29.  m_isEnabled(true),
  30.  m_needsFeedback(false),
  31. @@ -41,7 +41,7 @@ m_jointFeedback(0)
  32.  btTypedConstraint::btTypedConstraint(btTypedConstraintType type, btRigidBody& rbA,btRigidBody& rbB)
  33.  :btTypedObject(type),
  34.  m_userConstraintType(-1),
  35. -m_userConstraintId(-1),
  36. +m_userConstraintPtr((void*)-1),
  37.  m_breakingImpulseThreshold(SIMD_INFINITY),
  38.  m_isEnabled(true),
  39.  m_needsFeedback(false),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement