Skip to content

Commit

Permalink
Clarified which image is to be looked at
Browse files Browse the repository at this point in the history
  • Loading branch information
jrouwe committed Dec 2, 2023
1 parent d8a294d commit 186b59b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Jolt/Physics/Constraints/SwingTwistConstraint.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ class JPH_EXPORT SwingTwistConstraintSettings final : public TwoBodyConstraintSe
Vec3 mPlaneAxis2 = Vec3::sAxisY();

///@name Swing rotation limits
float mNormalHalfConeAngle = 0.0f; ///< See image. Angle in radians.
float mPlaneHalfConeAngle = 0.0f; ///< See image. Angle in radians.
float mNormalHalfConeAngle = 0.0f; ///< See image at Detailed Description. Angle in radians.
float mPlaneHalfConeAngle = 0.0f; ///< See image at Detailed Description. Angle in radians.

///@name Twist rotation limits
float mTwistMinAngle = 0.0f; ///< See image. Angle in radians. Rotation will be limited between [mLimitsMin, mLimitsMax] where mLimitsMin \f$\in [-\pi, 0]\f$ and mLimitsMax \f$\in [0, \pi]\f$
float mTwistMaxAngle = 0.0f; ///< See image. Angle in radians.
float mTwistMinAngle = 0.0f; ///< See image at Detailed Description. Angle in radians. Rotation will be limited between [mLimitsMin, mLimitsMax] where mLimitsMin \f$\in [-\pi, 0]\f$ and mLimitsMax \f$\in [0, \pi]\f$
float mTwistMaxAngle = 0.0f; ///< See image at Detailed Description. Angle in radians.

///@name Friction
float mMaxFrictionTorque = 0.0f; ///< Maximum amount of torque (N m) to apply as friction when the constraint is not powered by a motor
Expand Down

0 comments on commit 186b59b

Please sign in to comment.