Cross
From MaratisWiki
(Difference between revisions)
Dahnielson (Talk | contribs) |
Dahnielson (Talk | contribs) 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 18:56, 8 February 2014
cross(vector1, vector2)
Returns the cross product of two vectors.
-
vector1
: first vector -
vector2
: second vector
vec = cross(vecA, vecB)