Refactored build scripts and removed unused dependencies
- Added the following Gradle tasks: - buildLocal (alias for build) - buildCrossPlatform (builds with all natives) - packageDebian - packageWindows - Gradle no longer downloads or packages natives for wrong platforms (unless buildCrossPlatform or require*Dependencies is run) - Gradle should no longer complain about deprecated features - buildPackages.sh is now a lot more robust - Removed the following dependencies: - Apache Commons Math - Everything in LWJGL except OpenGL/AL, GLFW, STB and core
This commit is contained in:
@ -1,13 +1,11 @@
|
||||
package ru.windcorp.progressia.common.util;
|
||||
|
||||
import org.apache.commons.math3.util.FastMath;
|
||||
|
||||
public class FloatMathUtils {
|
||||
|
||||
public static final float PI_F = (float) Math.PI;
|
||||
|
||||
public static float floor(float x) {
|
||||
return (float) FastMath.floor(x);
|
||||
return (float) Math.floor(x);
|
||||
}
|
||||
|
||||
public static float normalizeAngle(float a) {
|
||||
|
Reference in New Issue
Block a user