In Part 1, I created my first image – a rainbow square. Part 2, involved refactoring code and creating a new struct for handling colors, vectors, and points. In Part 3 I start using some algebra and actually build the ray tracer. The magic of 3D Rays are lines defined with a starting point, a […]
In Part 1 of this Learning Rust series, I wrote code to create a rainbow square. Now it’s time to refactor and hope the rainbow square is still there. What and Why Refactoring is a sort of reorganizing we coders do periodically to make our work easier to read and use. It’s like keeping your […]
I recently started digging into Rust, a systems-level programming language that is similar to C++, but safer and easier to use. It’s been a while since I’ve used a systems-level language like C++ (maybe 20 years?). I remember struggling my way through a C++ class at Virginia Tech in which we had to write a […]