Graphmath.Vec2.length

You're seeing just the function length, go back to Graphmath.Vec2 module for more information.

Specs

length(vec2()) :: float()

length(a) finds the length (Eucldiean or L2 norm) of a vec2.

a is the vec2 to find the length of.

It returns a float of the value (sqrt( a<sub>x</sub><sup>2</sup> + a<sub>y</sub><sup>2</sup>)).