public static void FromPointAndNormal(ref Vec3 point, ref Vec3 normal, out Plane plane) { float distance = Vec3.A(ref point, ref normal); plane = new Plane(normal, distance); }
public static Plane FromPointAndNormal(Vec3 point, Vec3 normal) { return(new Plane(normal, Vec3.A(ref point, ref normal))); }