Jump to content
  • Advertisement
Sign in to follow this  
johnnyBravo

Quick cross product question

This topic is 4614 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

Hi, with the cross product of two vectors, eg: (x,y,z) = (y1*z2 - z1*y2, z1*x2 - x1*z2, x1*y2 - y1*x2) Am I supposed to also get the absolute value for each of the x,y,z as well? eg: (x,y,z) = (|y1*z2 - z1*y2|, |z1*x2 - x1*z2|, |x1*y2 - y1*x2|) THanks edit: Btw im asking because im learning to calculate the equation of a plane and in this article i got two vectors 4, 6, 1 3, 7, 6 and they give the cross product as 29, 21, 10, where i got 29, -21, 10 instead.

Share this post


Link to post
Share on other sites
Advertisement
Nope, no absolute values. -21 is the correct answer, so the article may have an error.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!