public static CVert ReadCVert(this BinaryReader reader) { var ret = new CVert(); ret.Position = reader.ReadPoint3(); ret.Normal = reader.ReadPoint3(); ret.UVW = reader.ReadPoint3(); return(ret); }
public static void Write(this BinaryWriter writer, CVert vert) { writer.Write(vert.Position); writer.Write(vert.Normal); writer.Write(vert.UVW); }