src/gui/math3d/qvector2d.h
changeset 30 5dc02b23752f
parent 18 2f34d5167611
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
   124 
   124 
   125     friend class QVector3D;
   125     friend class QVector3D;
   126     friend class QVector4D;
   126     friend class QVector4D;
   127 };
   127 };
   128 
   128 
       
   129 Q_DECLARE_TYPEINFO(QVector2D, Q_MOVABLE_TYPE);
       
   130 
   129 inline QVector2D::QVector2D() : xp(0.0f), yp(0.0f) {}
   131 inline QVector2D::QVector2D() : xp(0.0f), yp(0.0f) {}
   130 
   132 
   131 inline QVector2D::QVector2D(float xpos, float ypos, int) : xp(xpos), yp(ypos) {}
   133 inline QVector2D::QVector2D(float xpos, float ypos, int) : xp(xpos), yp(ypos) {}
   132 
   134 
   133 inline QVector2D::QVector2D(qreal xpos, qreal ypos) : xp(xpos), yp(ypos) {}
   135 inline QVector2D::QVector2D(qreal xpos, qreal ypos) : xp(xpos), yp(ypos) {}