Skip to content

Commit

Permalink
Get rid of bad epsilon that was one cause of #17
Browse files Browse the repository at this point in the history
  • Loading branch information
Metapyziks committed Jul 29, 2024
1 parent 51ce7c0 commit 302a16a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/facepunch.libpolygon/PolygonMeshBuilder.Bevel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ private static float CalculateSplitDistance( in Edge edge, in Edge other, in Edg

var t = dx / dv;

if ( t <= -0.0001f )
if ( t < 0f )
{
return float.PositiveInfinity;
}
Expand Down

0 comments on commit 302a16a

Please sign in to comment.