linearly v0.32.0Docs


linearly v0.32.0 / quat / squaredLength

Function: squaredLength()

squaredLength(a): number

Calculates the squared length of a quat

Parameters

a: vec4

Returns

number

squared length of a

Param

vector to calculate squared length of

Shorthands

Shorthands

Defined in

src/quat.ts:510open in new window