linearly v0.32.0Docs


linearly v0.32.0 / vec3 / quantize

Function: quantize()

quantize(v, step, offset): vec3

Parameters

v: vec3

step: number | vec3

offset: number | vec3 = zero

Returns

vec3

Defined in

src/vec3.ts:247open in new window