Length

From MaratisWiki
Jump to: navigation, search

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))
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox