Exemplo n.º 1
0
 private float GetIntersectionDiscriminent(PotatoObject objectToRender, Ray ray)
 {
     return(objectToRender.Intersect(ray.Origin, ray.Direction).Discriminent);
 }
Exemplo n.º 2
0
 public bool IsIntersect(PotatoObject obj, Ray ray)
 {
     return(obj.Intersect(ray).Intersect);
 }