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