src/gui/math3d/qvector2d.h
branchGCC_SURGE
changeset 31 5daf16870df6
parent 30 5dc02b23752f
equal deleted inserted replaced
27:93b982ccede2 31:5daf16870df6
   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) {}