Name

PVector_magSq

Description Calculates the magnitude (length) of the vector, squared. This method is often used to improve performance since, unlike mag(), it does not require a sqrt() operation.
Syntax
Related PVector_mag
Creative Commons License