public static float cos(float rad) {
        return cos[(int) (rad * radToIndex) & SIN_MASK];
    }
Returns the trigonometric cosine of a radians.

@param rad the radians to get a cosine of
@return the cosine of a radians
helper/src/main/java/me/lucko/helper/utils/Maths.java