@technobuddha/library
Version:
A large library of useful functions
9 lines (8 loc) • 309 B
TypeScript
/**
* Normalizes an angle to be in range [0-PI*2]. Angles outside this range will
* be normalized to be the equivalent angle with that range.
* @param angle Angle in radians.
* @return Standardized angle.
*/
export declare function normalizeAngle(radians: number): number;
export default normalizeAngle;