コード例 #1
0
 public static Tuple <float, float, float> ExtractNormal(Normal n)
 {
     return(new Tuple <float, float, float>(n.X, n.Y, n.Z));
 }
コード例 #2
0
 public static Triangle CreateTriangle(Vertex a, Vertex b, Vertex c, Normal n)
 {
     return(new Triangle(a, b, c, n));
 }