Skip to content

Commit

Permalink
Fix typo in NarrowPhase MPR
Browse files Browse the repository at this point in the history
  • Loading branch information
notgiven688 committed Aug 31, 2024
1 parent f1ddd92 commit efe411d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Jitter2/Collision/NarrowPhase/NarrowPhase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,6 @@ 3. This notice may not be removed or altered from any source distribution.
Unsafe.SkipInit(out ConvexPolytope.Vertex v3);
Unsafe.SkipInit(out ConvexPolytope.Vertex v4);


Unsafe.SkipInit(out JVector temp1);
Unsafe.SkipInit(out JVector temp2);
Unsafe.SkipInit(out JVector temp3);
Expand All @@ -338,7 +337,7 @@ 3. This notice may not be removed or altered from any source distribution.

if (Math.Abs(v0.V.X) < NumericEpsilon &&
Math.Abs(v0.V.Y) < NumericEpsilon &&
Math.Abs(v0.V.Y) < NumericEpsilon)
Math.Abs(v0.V.Z) < NumericEpsilon)
{
// any direction is fine
v0.V.X = 1e-05f;
Expand Down

0 comments on commit efe411d

Please sign in to comment.