Length
From MaratisWiki
Revision as of 18:54, 8 February 2014 by Dahnielson (Talk | contribs)
length(vector)
Returns the length of a 3d vector (sqrt(x*x + y*y + z*z)) :
-
vector
: vector to calculate length of
L = length(vec3(x, y, z))