mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Add EdgeShape:getPoints()
--HG-- branch : box2d-update
This commit is contained in:
@@ -45,6 +45,14 @@ namespace box2d
|
||||
EdgeShape(b2EdgeShape * e);
|
||||
|
||||
virtual ~EdgeShape();
|
||||
|
||||
/**
|
||||
* Returns the transformed points of the edge shape.
|
||||
* This function is useful for debug drawing and such.
|
||||
*
|
||||
* The result can be directly passed into love.graphics.line().
|
||||
**/
|
||||
int getPoints(lua_State * L);
|
||||
};
|
||||
|
||||
} // box2d
|
||||
|
||||
Reference in New Issue
Block a user