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 .