Skip to content

Commit

Permalink
Some comments clarifications/typofixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
RossNordby committed Jul 15, 2024
1 parent fd93751 commit f1103bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions BepuPhysics/BodyReference.cs
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ public static void ApplyLinearImpulse(Vector3 impulse, float inverseMass, ref Ve


/// <summary>
/// Applies an impulse to a body at the given world space position. Does not modify activity states.
/// Applies an impulse to a body at the given world space offset. Does not modify activity states.
/// </summary>
/// <param name="impulse">Impulse to apply to the body.</param>
/// <param name="impulseOffset">World space offset to apply the impulse at.</param>
Expand All @@ -421,9 +421,9 @@ public void ApplyLinearImpulse(Vector3 impulse)
}

/// <summary>
/// Computes the velocity of an offset point attached to the body.
/// Computes the velocity of a world space offset point attached to the body.
/// </summary>
/// <param name="offset">Offset from the body's center to </param>
/// <param name="offset">World space offset from the body's center to the point to measure.</param>
/// <param name="velocity">Effective velocity of the point if it were attached to the body.</param>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetVelocityForOffset(Vector3 offset, out Vector3 velocity)
Expand Down

0 comments on commit f1103bb

Please sign in to comment.