Files

30 lines
912 B
C#
Raw Permalink Normal View History

2025-09-26 10:57:15 -04:00
using System.Runtime.InteropServices;
2025-09-26 13:06:18 -04:00
namespace SabreTools.Data.Models.BSP
2025-09-26 10:57:15 -04:00
{
/// <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;
}
2025-10-30 21:21:56 -04:00
}