Skip to content

aninest-root / Vec2 / magSquared

magSquared()

ts
function magSquared(v): number;

Defined in: Utils/vec2.ts:126

Squares the magnitude of a vector.

Parameters

v

Vec2

Returns

number