Dot

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

Latest revision as of 18:55, 8 February 2014

dot(vector1, vector2)

Returns the dot product of two vectors.

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