IntersectRaySphere
Summary
public bool IntersectRaySphere(RayD ray, out double tmin, out double tmax)
NOTE: This function doesn't calculate the normal because it's easily derived for a sphere (p - center).
public bool IntersectRaySphere(RayD ray, out double tmin, out double tmax)
NOTE: This function doesn't calculate the normal because it's easily derived for a sphere (p - center).