Cross

From MaratisWiki
(Difference between revisions)
Jump to: navigation, search
m
 
(2 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 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)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox