Length

(Difference between revisions)
Jump to: navigation, search
(Created page with "Returns the length of a 3d vector (sqrt(x*x + y*y + z*z)) : L = length(vec3(x, y, z))")
 
Line 2: Line 2:
  
 
  L = length(vec3(x, y, z))
 
  L = length(vec3(x, y, z))
 +
 +
[[Category:Lua scripting]]

Revision as of 18:57, 4 February 2014

Returns the length of a 3d vector (sqrt(x*x + y*y + z*z)) :

L = length(vec3(x, y, z))
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox