use dt instead of inv_dt in RevoluteJoint::getMotorTorque

This commit is contained in:
megagrump
2021-11-21 01:04:48 +01:00
parent a3ff9999d1
commit 85894ad5e4
3 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -87,9 +87,9 @@ public:
/**
* Get the current motor torque, usually in N-m.
* @param inv_dt The inverse timestep.
* @param dt The timestep.
**/
float getMotorTorque(float inv_dt) const;
float getMotorTorque(float dt) const;
/**
* Get the maximum motor torque, usually in N-m.