Skip to content

aninest root / Vec2 / magSquared

magSquared()

ts
function magSquared(v): number

Squares the magnitude of a vector.

Parameters

v: Vec2

Returns

number

Defined in

Utils/vec2.ts:125