using System.Runtime.InteropServices; namespace SabreTools.Data.Models.BSP { /// /// The brush lump (Lump 18) contains all brushes that were /// present in the original VMF file before compiling. /// Unlike faces, brushes are constructive solid geometry (CSG) /// defined by planes instead of edges and vertices. It is the /// presence of the brush and brushside lumps in Source BSP /// files that makes decompiling them a much easier job than /// for GoldSrc files, which lacked this info. /// /// [StructLayout(LayoutKind.Sequential)] public sealed class Brush { /// /// First brushside /// public int FirstSide; /// /// Number of brushsides /// public int NumSides; /// /// Contents flags /// public VbspContents Contents; } }