public void DrawTriangle(ModelTriangle triangle) { DrawVertex(triangle.Vertex1); DrawVertex(triangle.Vertex2); DrawVertex(triangle.Vertex3); }
private static void WriteModelPartTriangle(BinaryWriter writer, ModelTriangle modelTriangle) { writer.Write(modelTriangle.V1VertexIndex); writer.Write(modelTriangle.V1TexCoordIndex); writer.Write(modelTriangle.V2VertexIndex); writer.Write(modelTriangle.V2TexCoordIndex); writer.Write(modelTriangle.V3VertexIndex); writer.Write(modelTriangle.V3TexCoordIndex); }