Cross
From MaratisWiki
(Difference between revisions)
Dahnielson (Talk | contribs) |
Dahnielson (Talk | contribs) m |
||
| (One intermediate revision by one user not shown) | |||
| Line 1: | Line 1: | ||
| − | Returns the cross product of two vectors | + | {{lua-function|cross|vector1, vector2}} |
| + | |||
| + | 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)