org.jbox2d.emul.java.lang.StrictMath Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of playn-jbox2d Show documentation
Show all versions of playn-jbox2d Show documentation
A GWT-compatible port of JBox2D, for use with PlayN games.
package java.lang;
public class StrictMath {
public static double atan2(double y, double x) {
return Math.atan2(y,x);
}
public static double cos(double a){
return Math.cos(a);
}
public static int round(float a){
return Math.round(a);
}
public static double sin(double a){
return Math.sin(a);
}
public static double sqrt(double a){
return Math.sqrt(a);
}
}