Maths · function
lerpAngle
lerp along the shortest arc — the angular counterpart for render interpolation.
Explained in Coordinates and units.
function lerpAngle(a: number, b: number, t: number): numberimport { lerpAngle } from '@driftengine/core';Parameters
| Parameter | Type | Description |
|---|---|---|
a | number | |
b | number | |
t | number |