mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Updated box2d from 2.2.1 to 2.3.0
--HG-- branch : box2d-2.3
This commit is contained in:
@@ -57,6 +57,12 @@ int PolygonShape::getPoints(lua_State *L)
|
||||
return count*2;
|
||||
}
|
||||
|
||||
bool PolygonShape::validate() const
|
||||
{
|
||||
b2PolygonShape *p = (b2PolygonShape *)shape;
|
||||
return p->Validate();
|
||||
}
|
||||
|
||||
} // box2d
|
||||
} // physics
|
||||
} // love
|
||||
|
||||
Reference in New Issue
Block a user