simonech / ray-tracer-challenge-netcore

My attempt at implementing the The Ray Tracer Challenge book in .NET Core and C#
MIT License
26 stars 5 forks source link

Exercise 1 #2

Closed brentonmcs closed 5 years ago

brentonmcs commented 5 years ago

Hey,

With your Projectile's velocity, I believe it should be normalised "Tuple.Vector(1, 1, 0).Normalise()"

P.S Thanks for kicking off this - I've got the book and I'm following along!

simonech commented 5 years ago

You are indeed correct! Thx for spotting it! I'll be posting my progress on my blog too (http://codeclimber.net.nz) if you also want to read a more prosaic version of the code (or also just read them here in the blog-posts folder)