Skip to content
pixi-silk
GitHub repository
Function

wrapAngle

import { wrapAngle } from 'pixi-silk/ui/arc';
function wrapAngle(a: number): number;

Wraps an angle of any size into 0..TAU radians.

Parameters#

ParameterType
anumber

Returns#

number