@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / index / shortestAngle
Function: shortestAngle() ​
ts
function shortestAngle(from, to): number;Defined in: camera/damping.ts:21
The signed shortest turn from one angle to another, in radians.
Parameters ​
| Parameter | Type |
|---|---|
from | number |
to | number |
Returns ​
number

