mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
newWorld(w, h) now actually makes the world w*h, not 4*w*h
This commit is contained in:
@@ -57,7 +57,7 @@ namespace box2d
|
||||
|
||||
World * Physics::newWorld(float w, float h)
|
||||
{
|
||||
return newWorld(-w, -h, w, h, 0, 0, true);
|
||||
return newWorld(0, 0, w, h, 0, 0, true);
|
||||
}
|
||||
|
||||
Body * Physics::newBody(World * world, float x, float y, float mass, float i)
|
||||
|
||||
Reference in New Issue
Block a user