com.github.brunothg.swing2.common.Angle Maven / Gradle / Ivy
package com.github.brunothg.swing2.common;
public class Angle {
public static double degreeToRadians(int deg) {
return deg * Math.PI / 180.0;
}
public static double radiansToDegree(int rad) {
return rad * 180.0 / Math.PI;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy