mirror of
https://github.com/love2d/love.git
synced 2026-08-18 11:44:15 +02:00
Implmented a few 'missing methods' in love.physics.
This commit is contained in:
@@ -214,6 +214,13 @@ namespace box2d
|
||||
**/
|
||||
void setMass(float x, float y, float m, float i);
|
||||
|
||||
/**
|
||||
* Sets the inertia while keeping the other properties
|
||||
* (mass and local center).
|
||||
* @param i The inertia.
|
||||
**/
|
||||
void setInertia(float i);
|
||||
|
||||
/**
|
||||
* Sets the Body's angular damping.
|
||||
**/
|
||||
|
||||
Reference in New Issue
Block a user