Skip to content

Commit

Permalink
Chore, doc typos fix (#1110)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeXXik authored May 25, 2024
1 parent deeb4bc commit 6370b0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jolt/Physics/Body/MotionProperties.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@ class JPH_EXPORT MotionProperties
// Get the total amount of torque applied to the center of mass this time step (through Body::AddForce/Body::AddTorque calls). Note that it will reset to zero after PhysicsSystem::Update.
JPH_INLINE Vec3 GetAccumulatedTorque() const { return Vec3::sLoadFloat3Unsafe(mTorque); }

// Reset the total accumulated force, not that this will be done automatically after every time step.
// Reset the total accumulated force, note that this will be done automatically after every time step.
JPH_INLINE void ResetForce() { mForce = Float3(0, 0, 0); }

// Reset the total accumulated torque, not that this will be done automatically after every time step.
// Reset the total accumulated torque, note that this will be done automatically after every time step.
JPH_INLINE void ResetTorque() { mTorque = Float3(0, 0, 0); }

// Reset the current velocity and accumulated force and torque.
Expand Down

0 comments on commit 6370b0f

Please sign in to comment.