linearly v0.32.0Docs


linearly v0.32.0 / vec2 / quantize

Function: quantize()

quantize(v, step, offset): vec2

Parameters

v: vec2

step: number | vec2

offset: number | vec2 = zero

Returns

vec2

Defined in

src/vec2.ts:274open in new window