Jump to content
  • Advertisement
Sign in to follow this  
applesauce

quick question about vector magnitude and zed3d

This topic is 4488 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i just started reading through zed3d, and i came across what i think is an error in the vector chapter's practice problems. but it's bothering me to the point that i don't know what to believe. so the question is, does |(3,4,20/3)| = 25/3 somehow? or is that wrong like i think? zed3d for reference: here it's exercise d) of the vector math section

Share this post


Link to post
Share on other sites
Advertisement
Google calculator says:
sqrt((3 * 3) + (4 * 4) + ((20 / 3) * (20 / 3))) = 8.33333333
The example appears to be correct.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!