mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Changed function names of love.physics to match Box2D.
This commit is contained in:
@@ -72,13 +72,13 @@ namespace box2d
|
||||
* Sets the damping ratio.
|
||||
* 0 = no damping, 1 = critical damping.
|
||||
**/
|
||||
void setDamping(float d);
|
||||
void setDampingRatio(float d);
|
||||
|
||||
/**
|
||||
* Gets the damping ratio.
|
||||
* 0 = no damping, 1 = critical damping.
|
||||
**/
|
||||
float getDamping() const;
|
||||
float getDampingRatio() const;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user