136 friend QVector4D operator*(const QVector4D& vector, const QMatrix4x4& matrix); |
136 friend QVector4D operator*(const QVector4D& vector, const QMatrix4x4& matrix); |
137 friend QVector4D operator*(const QMatrix4x4& matrix, const QVector4D& vector); |
137 friend QVector4D operator*(const QMatrix4x4& matrix, const QVector4D& vector); |
138 #endif |
138 #endif |
139 }; |
139 }; |
140 |
140 |
|
141 Q_DECLARE_TYPEINFO(QVector4D, Q_MOVABLE_TYPE); |
|
142 |
141 inline QVector4D::QVector4D() : xp(0.0f), yp(0.0f), zp(0.0f), wp(0.0f) {} |
143 inline QVector4D::QVector4D() : xp(0.0f), yp(0.0f), zp(0.0f), wp(0.0f) {} |
142 |
144 |
143 inline QVector4D::QVector4D(qreal xpos, qreal ypos, qreal zpos, qreal wpos) : xp(xpos), yp(ypos), zp(zpos), wp(wpos) {} |
145 inline QVector4D::QVector4D(qreal xpos, qreal ypos, qreal zpos, qreal wpos) : xp(xpos), yp(ypos), zp(zpos), wp(wpos) {} |
144 |
146 |
145 inline QVector4D::QVector4D(float xpos, float ypos, float zpos, float wpos, int) : xp(xpos), yp(ypos), zp(zpos), wp(wpos) {} |
147 inline QVector4D::QVector4D(float xpos, float ypos, float zpos, float wpos, int) : xp(xpos), yp(ypos), zp(zpos), wp(wpos) {} |