linearly v0.32.0Docs


linearly v0.32.0 / vec3 / scale

Function: scale()

scale(a, s): vec3

Scales a vec3 by a scalar number

Parameters

a: vec3

s: number

Returns

vec3

Defined in

src/vec3.ts:329open in new window