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