Graphmath.Vec3.length_squared
You're seeing just the function
length_squared
, go back to Graphmath.Vec3 module for more information.
Link to this function
length_squared(a)
Specs
length_squared(a)
finds the square of the length of a vec3
.
a
is the vec3
to find the length squared of.
It returns a float of the value a<sub>x</sub><sup>2</sup> + a<sub>y</sub><sup>2</sup> + a<sub>z</sub><sup>2</sup>.
In many cases, this is sufficient for comparisons and avoids a square root.