Dot

From MaratisWiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "Returns the dot product of two vectors : dotProduct = dot(vecA, vecB)")
 
m
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
Returns the dot product of two vectors :
+
{{lua-function|dot|vector1, vector2}}
 +
 
 +
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)
 +
 +
[[Category:Lua scripting]]
 +
[[Category:Lua function]]
 +
[[Category:3D math]]

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