From 31c071fcca8dcc59492e109cd0c1570161f362bb Mon Sep 17 00:00:00 2001 From: Daniel Chappuis Date: Mon, 16 Aug 2021 07:18:09 +0200 Subject: [PATCH] Improve code documentation of HingeJoint::getAngle() method --- include/reactphysics3d/constraint/HingeJoint.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/reactphysics3d/constraint/HingeJoint.h b/include/reactphysics3d/constraint/HingeJoint.h index 664dce8e..bcfa6c2f 100644 --- a/include/reactphysics3d/constraint/HingeJoint.h +++ b/include/reactphysics3d/constraint/HingeJoint.h @@ -311,7 +311,7 @@ class HingeJoint : public Joint { /// Return the intensity of the current torque applied for the joint motor decimal getMotorTorque(decimal timeStep) const; - /// Return the current hinge angle + /// Return the current hinge angle (in radians) decimal getAngle() const; /// Return the force (in Newtons) on body 2 required to satisfy the joint constraint in world-space