Add some accessor methods to btHingeConstraint and btSliderConstraint, to allow conversion.

Thanks to Roman Ponomarev.
This commit is contained in:
erwin.coumans
2008-07-22 02:15:17 +00:00
parent 016db0b3c5
commit fe5033119b
4 changed files with 648 additions and 610 deletions

View File

@@ -403,3 +403,4 @@ btScalar btHingeConstraint::getHingeAngle()
return btAtan2Fast( swingAxis.dot(refAxis0), swingAxis.dot(refAxis1) );
}