Skip to content

Commit

Permalink
Fix debug check in World.Step.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
notgiven688 committed Oct 29, 2024
1 parent 323f0c2 commit 1a9452d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Jitter2/World.Step.cs
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ private void ForeachActiveBody(bool multiThread)
{
if (body.IsStatic)
{
System.Diagnostics.Debug.Assert(MathHelper.UnsafeIsZero(body.Data.InverseInertiaWorld));
System.Diagnostics.Debug.Assert(MathHelper.UnsafeIsZero(ref body.Data.InverseInertiaWorld));
System.Diagnostics.Debug.Assert(body.Data.InverseMass == 0.0f);
}
}
Expand Down

0 comments on commit 1a9452d

Please sign in to comment.