Commit 17896d31 authored by sagnowski's avatar sagnowski
Browse files

Add error string for IVAS_ERR_INVALID_QUATERNION

parent 120be279
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -285,6 +285,10 @@ static inline const char *ivas_error_to_string( ivas_error error_code )
            return "Invalid index";
        case IVAS_ERR_EXTERNAL_ORIENTATION_INVALID_FORMAT:
            return "Euler angles were detected in the input but only Quaternions are supported";
#ifdef FIX_FLOAT_1529_VALIDATE_QUATERNIONS
        case IVAS_ERR_INVALID_QUATERNION:
            return "Non-unit quaternion or Euler angles out of valid range";
#endif
        default:
            break;
    }