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