CodeClimber

Climbing the cliffs of web development, on .NET

Wednesday, June 05, 2019 raytracer-challenge, netcore, object-oriented, math, vectors

The Ray Tracer Challenge - Implementing primitives and vector algebra operations

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.…