diff --git a/KeepersCompound.Lightmapper/PotentiallyVisibleSet.cs b/KeepersCompound.Lightmapper/PotentiallyVisibleSet.cs index 96b49ca..05bda54 100644 --- a/KeepersCompound.Lightmapper/PotentiallyVisibleSet.cs +++ b/KeepersCompound.Lightmapper/PotentiallyVisibleSet.cs @@ -271,8 +271,8 @@ public class PotentiallyVisibleSet var distance = MathUtils.DistanceFromPlane(plane, poly.Vertices[i]); distances[i] = distance; sides[i] = distance switch { - > MathUtils.Epsilon => Side.Front, - <-MathUtils.Epsilon => Side.Back, + > MathUtils.Epsilon => Side.Back, + <-MathUtils.Epsilon => Side.Front, _ => Side.On, }; counts[(int)sides[i]]++;