/****************************************************************************
** Meta object code from reading C++ file 'qquick3dquaternionutils_p.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.5)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include <memory>
#include "../../../../qtquick3d/src/quick3d/qquick3dquaternionutils_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qquick3dquaternionutils_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.5. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_QQuick3DQuaternionUtils_t {
    QByteArrayData data[22];
    char stringdata0[210];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QQuick3DQuaternionUtils_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QQuick3DQuaternionUtils_t qt_meta_stringdata_QQuick3DQuaternionUtils = {
    {
QT_MOC_LITERAL(0, 0, 23), // "QQuick3DQuaternionUtils"
QT_MOC_LITERAL(1, 24, 17), // "fromAxesAndAngles"
QT_MOC_LITERAL(2, 42, 0), // ""
QT_MOC_LITERAL(3, 43, 5), // "axis1"
QT_MOC_LITERAL(4, 49, 6), // "angle1"
QT_MOC_LITERAL(5, 56, 5), // "axis2"
QT_MOC_LITERAL(6, 62, 6), // "angle2"
QT_MOC_LITERAL(7, 69, 5), // "axis3"
QT_MOC_LITERAL(8, 75, 6), // "angle3"
QT_MOC_LITERAL(9, 82, 16), // "fromAxisAndAngle"
QT_MOC_LITERAL(10, 99, 1), // "x"
QT_MOC_LITERAL(11, 101, 1), // "y"
QT_MOC_LITERAL(12, 103, 1), // "z"
QT_MOC_LITERAL(13, 105, 5), // "angle"
QT_MOC_LITERAL(14, 111, 4), // "axis"
QT_MOC_LITERAL(15, 116, 15), // "fromEulerAngles"
QT_MOC_LITERAL(16, 132, 11), // "eulerAngles"
QT_MOC_LITERAL(17, 144, 6), // "lookAt"
QT_MOC_LITERAL(18, 151, 14), // "sourcePosition"
QT_MOC_LITERAL(19, 166, 14), // "targetPosition"
QT_MOC_LITERAL(20, 181, 16), // "forwardDirection"
QT_MOC_LITERAL(21, 198, 11) // "upDirection"

    },
    "QQuick3DQuaternionUtils\0fromAxesAndAngles\0"
    "\0axis1\0angle1\0axis2\0angle2\0axis3\0"
    "angle3\0fromAxisAndAngle\0x\0y\0z\0angle\0"
    "axis\0fromEulerAngles\0eulerAngles\0"
    "lookAt\0sourcePosition\0targetPosition\0"
    "forwardDirection\0upDirection"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QQuick3DQuaternionUtils[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       9,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // methods: name, argc, parameters, tag, flags
       1,    6,   68,    2, 0x02 /* Public */,
       1,    4,   81,    2, 0x02 /* Public */,
       9,    4,   90,    2, 0x02 /* Public */,
       9,    2,   99,    2, 0x02 /* Public */,
      15,    3,  104,    2, 0x02 /* Public */,
      15,    1,  111,    2, 0x02 /* Public */,
      17,    4,  114,    2, 0x82 /* Public | MethodRevisioned */,
      17,    3,  123,    2, 0xa2 /* Public | MethodCloned | MethodRevisioned */,
      17,    2,  130,    2, 0xa2 /* Public | MethodCloned | MethodRevisioned */,

 // methods: revision
       0,
       0,
       0,
       0,
       0,
       0,
       1,
       1,
       1,

 // methods: parameters
    QMetaType::QQuaternion, QMetaType::QVector3D, QMetaType::Float, QMetaType::QVector3D, QMetaType::Float, QMetaType::QVector3D, QMetaType::Float,    3,    4,    5,    6,    7,    8,
    QMetaType::QQuaternion, QMetaType::QVector3D, QMetaType::Float, QMetaType::QVector3D, QMetaType::Float,    3,    4,    5,    6,
    QMetaType::QQuaternion, QMetaType::Float, QMetaType::Float, QMetaType::Float, QMetaType::Float,   10,   11,   12,   13,
    QMetaType::QQuaternion, QMetaType::QVector3D, QMetaType::Float,   14,   13,
    QMetaType::QQuaternion, QMetaType::Float, QMetaType::Float, QMetaType::Float,   10,   11,   12,
    QMetaType::QQuaternion, QMetaType::QVector3D,   16,
    QMetaType::QQuaternion, QMetaType::QVector3D, QMetaType::QVector3D, QMetaType::QVector3D, QMetaType::QVector3D,   18,   19,   20,   21,
    QMetaType::QQuaternion, QMetaType::QVector3D, QMetaType::QVector3D, QMetaType::QVector3D,   18,   19,   20,
    QMetaType::QQuaternion, QMetaType::QVector3D, QMetaType::QVector3D,   18,   19,

       0        // eod
};

void QQuick3DQuaternionUtils::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QQuick3DQuaternionUtils *>(_o);
        (void)_t;
        switch (_id) {
        case 0: { QQuaternion _r = _t->fromAxesAndAngles((*reinterpret_cast< const QVector3D(*)>(_a[1])),(*reinterpret_cast< float(*)>(_a[2])),(*reinterpret_cast< const QVector3D(*)>(_a[3])),(*reinterpret_cast< float(*)>(_a[4])),(*reinterpret_cast< const QVector3D(*)>(_a[5])),(*reinterpret_cast< float(*)>(_a[6])));
            if (_a[0]) *reinterpret_cast< QQuaternion*>(_a[0]) = std::move(_r); }  break;
        case 1: { QQuaternion _r = _t->fromAxesAndAngles((*reinterpret_cast< const QVector3D(*)>(_a[1])),(*reinterpret_cast< float(*)>(_a[2])),(*reinterpret_cast< const QVector3D(*)>(_a[3])),(*reinterpret_cast< float(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< QQuaternion*>(_a[0]) = std::move(_r); }  break;
        case 2: { QQuaternion _r = _t->fromAxisAndAngle((*reinterpret_cast< float(*)>(_a[1])),(*reinterpret_cast< float(*)>(_a[2])),(*reinterpret_cast< float(*)>(_a[3])),(*reinterpret_cast< float(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< QQuaternion*>(_a[0]) = std::move(_r); }  break;
        case 3: { QQuaternion _r = _t->fromAxisAndAngle((*reinterpret_cast< const QVector3D(*)>(_a[1])),(*reinterpret_cast< float(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QQuaternion*>(_a[0]) = std::move(_r); }  break;
        case 4: { QQuaternion _r = _t->fromEulerAngles((*reinterpret_cast< float(*)>(_a[1])),(*reinterpret_cast< float(*)>(_a[2])),(*reinterpret_cast< float(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QQuaternion*>(_a[0]) = std::move(_r); }  break;
        case 5: { QQuaternion _r = _t->fromEulerAngles((*reinterpret_cast< const QVector3D(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QQuaternion*>(_a[0]) = std::move(_r); }  break;
        case 6: { QQuaternion _r = _t->lookAt((*reinterpret_cast< const QVector3D(*)>(_a[1])),(*reinterpret_cast< const QVector3D(*)>(_a[2])),(*reinterpret_cast< const QVector3D(*)>(_a[3])),(*reinterpret_cast< const QVector3D(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< QQuaternion*>(_a[0]) = std::move(_r); }  break;
        case 7: { QQuaternion _r = _t->lookAt((*reinterpret_cast< const QVector3D(*)>(_a[1])),(*reinterpret_cast< const QVector3D(*)>(_a[2])),(*reinterpret_cast< const QVector3D(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QQuaternion*>(_a[0]) = std::move(_r); }  break;
        case 8: { QQuaternion _r = _t->lookAt((*reinterpret_cast< const QVector3D(*)>(_a[1])),(*reinterpret_cast< const QVector3D(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QQuaternion*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject QQuick3DQuaternionUtils::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_QQuick3DQuaternionUtils.data,
    qt_meta_data_QQuick3DQuaternionUtils,
    qt_static_metacall,
    nullptr,
    nullptr
} };


const QMetaObject *QQuick3DQuaternionUtils::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *QQuick3DQuaternionUtils::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QQuick3DQuaternionUtils.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int QQuick3DQuaternionUtils::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 9;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
