Commits

Bill Meltsner  committed 9610f17

Add new Shape types to the Shape StringMap

  • Participants
  • Parent commits ec99091
  • Branches box2d-update

Comments (0)

Files changed (2)

File src/modules/physics/Shape.cpp

 	{
 		{"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));

File src/modules/physics/Shape.h

 			SHAPE_INVALID,
 			SHAPE_CIRCLE, 
 			SHAPE_POLYGON,
+			SHAPE_EDGE,
+			SHAPE_CHAIN,
 			SHAPE_MAX_ENUM
 		};