package.src.contain.util.ts Maven / Gradle / Ivy
const PI2 = Math.PI * 2;
export function normalizeRadian(angle: number): number {
angle %= PI2;
if (angle < 0) {
angle += PI2;
}
return angle;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy