STATE_math_cross

 

 


  Returns the cross product between vec1 and vec2.
  The result is returned in the argument "result"
  The returned vector is a vector that is perpendicular both to vec1 and vec2
  The length of the returned vector is equal to
  The length of vec1 multiplied by the length of vec2 multiplied by
  the sinus of the angle between the two vectors.
  For more information about scalar products see your math book (look for Linear Algebra and vectors)

 

 

Go to page 1      Select API

 

Copyright © 2007 3DSTATE Corporation. www.3dstate.com