mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Updated box2d from 2.2.1 to 2.3.0
--HG-- branch : box2d-2.3
This commit is contained in:
@@ -181,6 +181,13 @@ public:
|
||||
**/
|
||||
int getGravity(lua_State *L);
|
||||
|
||||
/**
|
||||
* Translate the world origin.
|
||||
* @param x The new world origin's x-coordinate relative to the old origin.
|
||||
* @param y The new world origin's y-coordinate relative to the old origin.
|
||||
**/
|
||||
void translateOrigin(float x, float y);
|
||||
|
||||
/**
|
||||
* Sets whether this World allows sleep.
|
||||
* @param allow True to allow, false to disallow.
|
||||
|
||||
Reference in New Issue
Block a user