mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Changed function names of love.physics to match Box2D.
This commit is contained in:
@@ -64,12 +64,12 @@ namespace box2d
|
||||
return joint->m_frequencyHz;
|
||||
}
|
||||
|
||||
void DistanceJoint::setDamping(float d)
|
||||
void DistanceJoint::setDampingRatio(float d)
|
||||
{
|
||||
joint->m_dampingRatio = d;
|
||||
}
|
||||
|
||||
float DistanceJoint::getDamping() const
|
||||
float DistanceJoint::getDampingRatio() const
|
||||
{
|
||||
return joint->m_dampingRatio;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user