linearly v0.32.0Docs


linearly v0.32.0 / vec3 / of

Function: of()

of(x, y?, z?): vec3

Creates a new vector from given elements

Parameters

x: number

y?: number

z?: number

Returns

vec3

Defined in

src/vec3.ts:27open in new window