public static bool coplanar(Plane a, Plane b) { return (a == b || a == PlaneFlip(b)); }
public static Plane PlaneFlip(Plane plane) { return new Plane(-plane.normal, -plane.dist); }
public Plane(Plane p) { normal = new float3(p.normal); dist = p.dist; }