Esempio n. 1
0
 public static bool Intersects(BoundingBox box, Ray ray, out float distance)
 {
     return(Ray.Intersect(ray, box, out distance));
 }
 public static bool Intersects(BoundingSphere sphere, Ray ray, out float distance)
 {
     return(Ray.Intersect(ray, sphere, out distance));
 }