IntersectRaySphere#

inline bool IntersectRaySphere(
const Point3 &sphereOrigin,
float sphereRadius,
const Point3 &rayOrigin,
const Vector3 &rayDir,
float &minT,
float &maxT,
Vec3 *hitNormal = nullptr,
)#