linearly v0.32.0Docs


linearly v0.32.0 / vec4 / quantize

Function: quantize()

quantize(v, step, offset): vec4

Parameters

v: vec4

step: number | vec4

offset: number | vec4 = zero

Returns

vec4

Defined in

src/vec4.ts:276open in new window