Beispiel #1
0
 public bool Raycast(Ray ray, out Surfel surfel)
 {
     if (tree.Intersect(ray, out surfel))
     {
         return(true);
     }
     surfel = new Surfel()
     {
         ray = ray.direction
     };
     return(false);
 }