linearly v0.32.0Docs


linearly v0.32.0 / vec2 / squaredLength

Function: squaredLength()

squaredLength(v): number

Calculates the squared length of a vec2

Parameters

v: vec2

Returns

number

Shorthands

Defined in

src/vec2.ts:387open in new window