Length
(Difference between revisions)
Dahnielson (Talk | contribs) |
Dahnielson (Talk | contribs) |
||
Line 4: | Line 4: | ||
[[Category:Lua scripting]] | [[Category:Lua scripting]] | ||
+ | [[Category:Lua function]] | ||
+ | [[Category:3D math]] |
Revision as of 18:23, 4 February 2014
Returns the length of a 3d vector (sqrt(x*x + y*y + z*z)) :
L = length(vec3(x, y, z))