Maths · function

mixColor

Explained in Coordinates and units.

function mixColor(a: Vec3, b: Vec3, t: number): Vec3
import { mixColor } from '@driftengine/core';

Parameters

ParameterTypeDescription
aVec3
bVec3
tnumber