Length

(Difference between revisions)
Jump to: navigation, search
Line 4: Line 4:
  
 
[[Category:Lua scripting]]
 
[[Category:Lua scripting]]
 +
[[Category:Lua function]]
 +
[[Category:3D math]]

Revision as of 19:23, 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