mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Cleaned up some code, the 'ry' parameter of love.graphics.rectangle now defaults to the value of 'rx' rather than defaulting to 0.
This commit is contained in:
@@ -482,7 +482,7 @@ int Body::getContactList(lua_State *L) const
|
||||
contact = new Contact(ce->contact);
|
||||
else
|
||||
contact->retain();
|
||||
|
||||
|
||||
luax_pushtype(L, PHYSICS_CONTACT_ID, contact);
|
||||
contact->release();
|
||||
lua_rawseti(L, -2, i);
|
||||
|
||||
@@ -213,7 +213,7 @@ int Joint::getUserData(lua_State *L)
|
||||
udata->ref->push(L);
|
||||
else
|
||||
lua_pushnil(L);
|
||||
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ public:
|
||||
|
||||
/// Get the position correction factor in the range [0,1].
|
||||
float getCorrectionFactor() const;
|
||||
|
||||
|
||||
private:
|
||||
|
||||
// The Box2D MotorJoint object.
|
||||
|
||||
Reference in New Issue
Block a user