Changed function names of love.physics to match Box2D.

This commit is contained in:
rude
2009-08-04 23:05:49 +02:00
parent cc9a142a98
commit 797f536f05
22 changed files with 157 additions and 236 deletions
+3 -3
View File
@@ -48,12 +48,12 @@ namespace box2d
joint = 0;
}
float PrismaticJoint::getTranslation() const
float PrismaticJoint::getJointTranslation() const
{
return world->scaleDown(joint->GetJointTranslation());
}
float PrismaticJoint::getSpeed() const
float PrismaticJoint::getJointSpeed() const
{
return world->scaleDown(joint->GetJointSpeed());
}
@@ -75,7 +75,7 @@ namespace box2d
float PrismaticJoint::getMaxMotorForce() const
{
return joint->GetMotorForce();
return joint->m_maxMotorForce;
}
void PrismaticJoint::setMotorSpeed(float speed)