Appearance
aninest-root / Vec2 / mag
function mag(v): number;
Defined in: Utils/vec2.ts:111
Calculates the magnitude of a vector.
Vec2
number
The magnitude of the vector.