A Python implementation of Ray Tracer Challenge book. This mostly follows the book although there are some slight deviations:
- There is an error in one test case where the
inverseof a rotation is used rather than thetranspose(cite page) - I made the ray-casting function,
position(origin, direction)a method of theRayclass so it is called asray.position(t)rather thanposition(ray, t).