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