add new joint enums (no implementation yet)

--HG--
branch : box2d-update
This commit is contained in:
Bill Meltsner
2011-03-13 08:04:43 -04:00
parent 57e345e91e
commit e32a373dc9
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -46,6 +46,9 @@ namespace physics
{"mouse", Joint::JOINT_MOUSE}, {"mouse", Joint::JOINT_MOUSE},
{"pulley", Joint::JOINT_PULLEY}, {"pulley", Joint::JOINT_PULLEY},
{"gear", Joint::JOINT_GEAR}, {"gear", Joint::JOINT_GEAR},
{"friction", Joint::JOINT_FRICTION},
{"line", Joint::JOINT_LINE},
{"weld", Joint::JOINT_WELD},
}; };
StringMap<Joint::Type, Joint::JOINT_MAX_ENUM> Joint::types(Joint::typeEntries, sizeof(Joint::typeEntries)); StringMap<Joint::Type, Joint::JOINT_MAX_ENUM> Joint::types(Joint::typeEntries, sizeof(Joint::typeEntries));
+3
View File
@@ -42,6 +42,9 @@ namespace physics
JOINT_MOUSE, JOINT_MOUSE,
JOINT_PULLEY, JOINT_PULLEY,
JOINT_GEAR, JOINT_GEAR,
JOINT_FRICTION,
JOINT_LINE,
JOINT_WELD,
JOINT_MAX_ENUM JOINT_MAX_ENUM
}; };