using System.Runtime.InteropServices; namespace SabreTools.Data.Models.BSP { /// /// A Model, in the terminology of the BSP file format, is a collection /// of brushes and faces, often called a "bmodel". It should not be /// confused with the prop models used in Hammer, which are usually /// called "studiomodels" in the SDK source. /// /// [StructLayout(LayoutKind.Sequential)] public sealed class VbspModel { /// /// Bounding box /// public Vector3D Mins = new(); /// /// Bounding box /// public Vector3D Maxs = new(); /// /// For sounds or lights /// public Vector3D OriginVector = new(); /// /// Index into nodes /// public int HeadNode; /// /// Index into faces /// public int FirstFaceIndex; /// /// Count of faces /// public int FacesCount; } }