changeset 30 | 5dc02b23752f |
parent 18 | 2f34d5167611 |
--- a/src/gui/math3d/qquaternion.h Wed Jun 23 19:07:03 2010 +0300 +++ b/src/gui/math3d/qquaternion.h Tue Jul 06 15:10:48 2010 +0300 @@ -136,6 +136,8 @@ qreal wp, xp, yp, zp; }; +Q_DECLARE_TYPEINFO(QQuaternion, Q_MOVABLE_TYPE); + inline QQuaternion::QQuaternion() : wp(1.0f), xp(0.0f), yp(0.0f), zp(0.0f) {} inline QQuaternion::QQuaternion(qreal aScalar, qreal xpos, qreal ypos, qreal zpos) : wp(aScalar), xp(xpos), yp(ypos), zp(zpos) {}