math.mag2

Syntax

Get the squared vector magnitude. This is useful as a measure of vector length without the cost of calling the math.sqrt function.

math.sqrt

math.mag

math.max