Cross

From MaratisWiki
(Difference between revisions)
Jump to: navigation, search
m
 
Line 1: Line 1:
 
{{lua-function|cross|vector1, vector2}}
 
{{lua-function|cross|vector1, vector2}}
  
Returns the cross product of two vectors :
+
Returns the cross product of two vectors.
 +
 
 +
{{lua-function-param|vector1|first vector}}
 +
{{lua-function-param|vector2|second vector}}
  
 
  vec = cross(vecA, vecB)
 
  vec = cross(vecA, vecB)

Latest revision as of 19:56, 8 February 2014

cross(vector1, vector2)

Returns the cross product of two vectors.

  • vector1 : first vector
  • vector2 : second vector
vec = cross(vecA, vecB)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox