QQuaternion: mark as PRIMITIVE type
Change-Id: I043fef8bfc66875b72f34e7939e78c7d1c7f5381 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
852b070529
commit
5f501b0e97
@ -169,7 +169,7 @@ private:
|
|||||||
float wp, xp, yp, zp;
|
float wp, xp, yp, zp;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QQuaternion, Q_RELOCATABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QQuaternion, Q_PRIMITIVE_TYPE);
|
||||||
|
|
||||||
inline QQuaternion::QQuaternion() : wp(1.0f), xp(0.0f), yp(0.0f), zp(0.0f) {}
|
inline QQuaternion::QQuaternion() : wp(1.0f), xp(0.0f), yp(0.0f), zp(0.0f) {}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user