Exemple #1
0
 private void DrawTriangle(VectorFace face) => DrawTriangle(face.A, face.B, face.C, face.Color);
Exemple #2
0
 private VectorFace ProjectFace(VectorFace face, Matrix4x4 transformMatrix) =>
 new VectorFace(
     Project(face.A, transformMatrix),
     Project(face.B, transformMatrix),
     Project(face.C, transformMatrix),
     face.Color);