Пример #1
0
 /// <summary>
 /// Always prefer this split over the tesellation because it is faster and there is
 /// no need to allocate collection. This only works for quads/rectanges.
 /// </summary>
 /// <param name="t1">The first triangle.</param>
 /// <param name="t2">The second triangle.</param>
 public void Split(out Triangle3d t1, out Triangle3d t2)
 {
     t1 = new Triangle3d(A, B, C);
     t2 = new Triangle3d(A, C, D);
 }