Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 public static Plane FromPointAndNormal(Vec3 point, Vec3 normal)
 {
     return(new Plane(normal, Vec3.A(ref point, ref normal)));
 }