DistanceJoint:getType now returns "distance" instead of "circle"

This commit is contained in:
Bill Meltsner
2010-08-19 01:05:51 -05:00
parent afa865973d
commit 7611edd9ee
2 changed files with 7 additions and 6 deletions
+5 -5
View File
@@ -40,11 +40,11 @@ namespace physics
StringMap<Joint::Type, Joint::JOINT_MAX_ENUM>::Entry Joint::typeEntries[] =
{
{"circle", Joint::JOINT_DISTANCE},
{"revolute", Joint::JOINT_REVOLUTE},
{"prismatic", Joint::JOINT_PRISMATIC},
{"mouse", Joint::JOINT_MOUSE},
{"pulley", Joint::JOINT_PULLEY},
{"distance", Joint::JOINT_DISTANCE},
{"revolute", Joint::JOINT_REVOLUTE},
{"prismatic", Joint::JOINT_PRISMATIC},
{"mouse", Joint::JOINT_MOUSE},
{"pulley", Joint::JOINT_PULLEY},
{"gear", Joint::JOINT_GEAR},
};