arcDelta()
pixi-wheels / index / arcDelta
Function: arcDelta()
function arcDelta(
from: number,
to: number,
direction: SpinDirection
): number;
Defined in: utils/angles.ts:25
The positive angular distance travelled when rotating in direction from
from to to, in [0, 360). Clockwise is the direction of increasing
PixiJS rotation (screen y points down).
Parameters#
| Parameter | Type |
|---|---|
from | number |
to | number |
direction | SpinDirection |
Returns#
number