linearly v0.32.0Docs


linearly v0.32.0 / vec3 / squaredLength

Function: squaredLength()

squaredLength(a): number

Calculates the squared length of a vec3

Parameters

a: vec3

Returns

number

Shortands

Defined in

src/vec3.ts:424open in new window