Add new Shape types to the Shape StringMap

--HG--
branch : box2d-update
This commit is contained in:
Bill Meltsner
2011-09-03 16:34:36 -04:00
parent 915e3e9d86
commit 551cf591e2
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -42,6 +42,8 @@ namespace physics
{
{"circle", Shape::SHAPE_CIRCLE},
{"polygon", Shape::SHAPE_POLYGON},
{"edge", Shape::SHAPE_EDGE},
{"chain", Shape::SHAPE_CHAIN},
};
StringMap<Shape::Type, Shape::SHAPE_MAX_ENUM> Shape::types(Shape::typeEntries, sizeof(Shape::typeEntries));