mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Fix #1614: add Body:getLocalPoints
This commit is contained in:
@@ -317,6 +317,12 @@ public:
|
||||
**/
|
||||
void getLocalVector(float x, float y, float &x_o, float &y_o);
|
||||
|
||||
/**
|
||||
* Transforms a series of points (x, y) from world coordinates
|
||||
* to local coordinates.
|
||||
**/
|
||||
int getLocalPoints(lua_State *L);
|
||||
|
||||
/**
|
||||
* Gets the velocity on the Body for the given world point.
|
||||
* @param x The x-coordinate of the world point.
|
||||
|
||||
Reference in New Issue
Block a user