using System; namespace NW4RTools.Models { public class VertexDataBase { public UInt32 Index; public UInt32 ComponentCount, ComponentType; // todo: enums public byte Fraction /* Not used for colours */, EntrySize; public UInt16 EntryCount; // Todo, decode data when reading public byte[] Data; public VertexDataBase() { } } public class VertexPosData : VertexDataBase { public Vec3 Minimum, Maximum; public VertexPosData() { } } public class VertexNrmData : VertexDataBase { public VertexNrmData() { } } public class VertexClrData : VertexDataBase { public VertexClrData() { } } public class VertexTexCoordData : VertexDataBase { public Vec2 Minimum, Maximum; public VertexTexCoordData() { } } }