Maths · type

Vec3

RGB triplet, each channel in [0, 1]. Mutable tuple for direct uniform upload.

Explained in Coordinates and units.

type Vec3 = [number, number, number]
import type { Vec3 } from '@driftengine/core';