Files
Matt Nadareski 7689c6dd07 Libraries
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
2026-03-21 16:26:56 -04:00

30 lines
912 B
C#

using System.Runtime.InteropServices;
namespace SabreTools.Data.Models.BSP
{
/// <summary>
/// Occluder polygons are stored in the doccluderpolydata_t
/// structure and contain the firstvertexindex field, which
/// is the first index into the vertex array of the occluder,
/// which are again indices for the vertex array of the vertex
/// lump (Lump 3). The total number of vertex indices is
/// stored in vertexcount.
/// </summary>
/// <see href="https://developer.valvesoftware.com/wiki/BSP_(Source)"/>
[StructLayout(LayoutKind.Sequential)]
public sealed class OccluderPolyData
{
/// <summary>
/// Index into doccludervertindices
/// </summary>
public int FirstVertexIndex;
/// <summary>
/// Amount of vertex indices
/// </summary>
public int VertexCount;
public int PlanEnum;
}
}