mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Add basic EdgeShape (todo: all edge-related functionality) and further integrated the new Joints
--HG-- branch : box2d-update
This commit is contained in:
@@ -51,6 +51,10 @@ namespace box2d
|
||||
return SHAPE_CIRCLE;
|
||||
case b2Shape::e_polygon:
|
||||
return SHAPE_POLYGON;
|
||||
case b2Shape::e_edge:
|
||||
return SHAPE_EDGE;
|
||||
case b2Shape::e_chain:
|
||||
return SHAPE_CHAIN;
|
||||
default:
|
||||
return SHAPE_INVALID;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user