예제 #1
0
 public static bool coplanar(Plane a, Plane b)
 {
     return (a == b || a == PlaneFlip(b));
 }
예제 #2
0
 public static Plane PlaneFlip(Plane plane)
 {
     return new Plane(-plane.normal, -plane.dist);
 }
예제 #3
0
 public Plane(Plane p)
 {
     normal = new float3(p.normal);
     dist = p.dist;
 }