target/generated-sources/template/com/flowpowered/math/imaginary/Quaternionf.java
public static Quaternionf fromAxesAnglesDeg(float pitch, float yaw, float roll) {
        return Quaternionf.fromAngleDegAxis(yaw, Vector3f.UNIT_Y).
                mul(Quaternionf.fromAngleDegAxis(pitch, Vector3f.UNIT_X)).
                mul(Quaternionf.fromAngleDegAxis(roll, Vector3f.UNIT_Z));
    }
public static Quaternionf fromAxesAnglesDeg(float pitch, float yaw, float roll) {
        return Quaternionf.fromAngleDegAxis(yaw, Vector3f.UNIT_Y).
                mul(Quaternionf.fromAngleDegAxis(pitch, Vector3f.UNIT_X)).
                mul(Quaternionf.fromAngleDegAxis(roll, Vector3f.UNIT_Z));
    }
Creates a new quaternion from the float angles in degrees around the x, y and z axes.

@param pitch The rotation around x
@param yaw The rotation around y
@param roll The rotation around z
@return The quaternion defined by the rotations around the axes