Cross
From MaratisWiki
(Difference between revisions)
(Created page with "Returns the cross product of two vectors : vec = cross(vecA, vecB)") |
Dahnielson (Talk | contribs) m |
||
(3 intermediate revisions 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) | ||
+ | |||
+ | [[Category:Lua scripting]] | ||
+ | [[Category:Lua function]] | ||
+ | [[Category:3D math]] |
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)