diff --git a/KeepersCompound.Lightmapper/PotentiallyVisibleSet.cs b/KeepersCompound.Lightmapper/PotentiallyVisibleSet.cs index cd34ede..17efef1 100644 --- a/KeepersCompound.Lightmapper/PotentiallyVisibleSet.cs +++ b/KeepersCompound.Lightmapper/PotentiallyVisibleSet.cs @@ -1,3 +1,4 @@ +using System.Collections; using System.Numerics; using KeepersCompound.LGS.Database.Chunks; @@ -14,7 +15,7 @@ public class PotentiallyVisibleSet private readonly struct Edge(int mightSeeLength, int destination, Poly poly) { - public readonly bool[] MightSee = new bool[mightSeeLength]; + public readonly BitArray MightSee = new(mightSeeLength); public readonly int Destination = destination; public readonly Poly Poly = poly;