The Ray Tracer Challenge - Implementing primitives and vector algebra operations
After setting up the project, in this post I start implementing the code for the first chapter of the book, which focuses mostly on defining primitives (Point and Vectors), and vector algebra operations. And a simple ballistic problem to put all the operations in practice.…