示例#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;
 }