using System.Runtime.InteropServices;
namespace SabreTools.Data.Models.BSP
{
///
/// The doccluderdata_t structure contains flags and dimensions
/// of the occluder, as well as the area where it remains.
/// firstpoly is the first index into the doccluderpolydata_t
/// with a total of polycount entries.
///
///
[StructLayout(LayoutKind.Sequential)]
public sealed class OccluderData
{
public int Flags;
///
/// Index into doccluderpolys
///
public int FirstPoly;
///
/// Amount of polygons
///
public int PolyCount;
///
/// Minima of all vertices
///
public Vector3D Mins = new();
///
/// Maxima of all vertices
///
public Vector3D Maxs = new();
/// Since v1
public int Area;
}
}