public EMesh(Prism.Parser.PrismMesh prismMesh, Layer l, Editor e) : this(l, e) { for (int i = 0; i < prismMesh.VertexPosition.Length; i++) { vertices[i].Position = prismMesh.VertexPosition[i]; } }
public override void ReadFromBuffer(BinaryReader reader, PrismMap map) { int meshes = reader.ReadInt32(); for (int i = 0; i < meshes; i++) { PrismMesh mesh = new PrismMesh(reader, map); Meshes.Add(mesh); } }
public void AddMesh(PrismMesh m) { meshList.Add(m); }