mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Add new Shape types to the Shape StringMap
--HG-- branch : box2d-update
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user