medium10 pts · first answer countsgame-physicscollisionraycasting
Ray hits a sphere
A ray starts at (0, 0, 0) with direction (1, 0, 0). A sphere has centre (5, 0, 0) and radius 2. At what distance along the ray is the first hit?
Discussion 0
Join free to post in the discussion.