A degree, or angle, is a unit of plane angle, divided into 360 equal parts of one rotation. A class that provides convenience functions related to angles.
Change the unit of angle from radian to degree.
// 90const degree = Stopwatch.Degree.fromRadian( Math.PI / 2 );
angle to change ( radian )
changed angle ( degree )
Normalize the angle. ( 0 <= angle < 360 )
// 9const degree = Stopwatch.Degree.normalize( 369 );
angle to normalize
normalized angle
Change the unit of angle from degree to radian.
// Math.PIconst radian = Stopwatch.Degree.toRadian( 180 );
angle to change ( degree )
changed angle ( radian )
Generated using TypeDoc
A degree, or angle, is a unit of plane angle, divided into 360 equal parts of one rotation. A class that provides convenience functions related to angles.