target/generated-sources/template/com/flowpowered/math/imaginary/Quaterniond.java
public static Quaterniond fromAxesAnglesDeg(double pitch, double yaw, double roll) {
        return Quaterniond.fromAngleDegAxis(yaw, Vector3d.UNIT_Y).
                mul(Quaterniond.fromAngleDegAxis(pitch, Vector3d.UNIT_X)).
                mul(Quaterniond.fromAngleDegAxis(roll, Vector3d.UNIT_Z));
    }
public static Quaterniond fromAxesAnglesDeg(double pitch, double yaw, double roll) {
        return Quaterniond.fromAngleDegAxis(yaw, Vector3d.UNIT_Y).
                mul(Quaterniond.fromAngleDegAxis(pitch, Vector3d.UNIT_X)).
                mul(Quaterniond.fromAngleDegAxis(roll, Vector3d.UNIT_Z));
    }
Creates a new quaternion from the double 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