AntiCheatBase/src/main/java/utils/MathUtils.java
//A lighter version of the Java hypotenuse function.
A lighter version of the Java hypotenuse function.
A lighter version of the Java hypotenuse function .
public static double hypot(double... value) {
        double total = 0;
        for (double val : value) {
            total += (val * val);
        }
        return Math.sqrt(total);
    }
public static double hypot ( double ... value ) { double total = 0 ; for ( double val : value ) { total += ( val * val ) ; } return Math . sqrt ( total ) ; }
A lighter version of the Java hypotenuse function.
A lighter version of the Java hypotenuse function .