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