Skip to main content

Interface: Vector3

Defined in: math/vector3.ts:9

A plain three-dimensional vector with x, y, and z components.

All mutating operations on Vec3 mutate their target argument in place and return it (for chaining) rather than allocating a new Vector3. Callers that need to preserve the original value must clone it first with Vec3.clone.

Properties​

x​

x: number

Defined in: math/vector3.ts:10


y​

y: number

Defined in: math/vector3.ts:11


z​

z: number

Defined in: math/vector3.ts:12