Skip to content

Commit cd5e098

Browse files
Plane-VectorIntersection
Fixes SideOf to use negative epsilon when checking lower bound
1 parent c06fed1 commit cd5e098

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EzySlice/Framework/Plane.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public SideOfPlane SideOf(Vector3 pt) {
8787
return SideOfPlane.UP;
8888
}
8989

90-
if (result < float.Epsilon) {
90+
if (result < -float.Epsilon) {
9191
return SideOfPlane.DOWN;
9292
}
9393

0 commit comments

Comments
 (0)