The Ray Tracer Challenge - Implementing primitives and vector algebra operations
![The Ray Tracer Challenge - Implementing primitives and vector algebra operations](/media/kufnqlgc/3-text-output.png?center=0.23865427354894075,0.16756834280007107&mode=crop&width=50&height=50&upscale=false)
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.…