February 2019
Intermediate to advanced
292 pages
6h 55m
English
As far as first steps go, this one wasn’t too bad, and it’s laid the groundwork for some great things. You’ve got a working implementation of points and vectors! Those things are going to pop up everywhere. Sadly, you have no ray tracer yet to plug your code into, but you can still have some fun with it.
Try playing with this little program, firing virtual projectiles and seeing how far they go. It’ll let you exercise the vector and point routines you’ve written. Start with the following two data structures:
Then, add a tick(environment, projectile) function which returns a new projectile, representing ...
Read now
Unlock full access