Finish wrapper function renames

This commit is contained in:
Garrett Brown
2020-08-16 18:25:27 -04:00
parent a5004f4c8d
commit 59a1a4b2cd
16 changed files with 49 additions and 77 deletions
+4 -4
View File
@@ -66,22 +66,22 @@ void WeldJoint::init(b2WeldJointDef &def, Body *body1, Body *body2, float xA, fl
def.collideConnected = collideConnected;
}
void WeldJoint::setFrequency(float hz)
void WeldJoint::setStiffness(float hz)
{
joint->SetStiffness(hz);
}
float WeldJoint::getFrequency() const
float WeldJoint::getStiffness() const
{
return joint->GetStiffness();
}
void WeldJoint::setDampingRatio(float d)
void WeldJoint::setDamping(float d)
{
joint->SetDamping(d);
}
float WeldJoint::getDampingRatio() const
float WeldJoint::getDamping() const
{
return joint->GetDamping();
}