diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-04-15 21:56:08 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-04-15 21:56:08 (GMT) |
commit | c51b0e8389f52f895a9d69e9e96c1fd768d78bf4 (patch) | |
tree | a77e655a6539326b9ea2087d64358a70237a9466 /src/gui/math3d/qvector3d.h | |
parent | ca83968f235c731f3bd1eb38e3c97d38d34565a0 (diff) | |
download | Qt-c51b0e8389f52f895a9d69e9e96c1fd768d78bf4.zip Qt-c51b0e8389f52f895a9d69e9e96c1fd768d78bf4.tar.gz Qt-c51b0e8389f52f895a9d69e9e96c1fd768d78bf4.tar.bz2 |
Remove the int constructors from the vector classes
The int constructors existed to make fixed-point conversions faster
in certain circumstances. With the removal of fixed-point support,
they are no longer required.
Reviewed-by: trustme
Diffstat (limited to 'src/gui/math3d/qvector3d.h')
-rw-r--r-- | src/gui/math3d/qvector3d.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/math3d/qvector3d.h b/src/gui/math3d/qvector3d.h index 4771d5a..02873f2 100644 --- a/src/gui/math3d/qvector3d.h +++ b/src/gui/math3d/qvector3d.h @@ -63,7 +63,6 @@ class Q_GUI_EXPORT QVector3D public: QVector3D(); QVector3D(qreal xpos, qreal ypos, qreal zpos); - QVector3D(int xpos, int ypos, int zpos); explicit QVector3D(const QPoint& point); explicit QVector3D(const QPointF& point); #ifndef QT_NO_VECTOR2D @@ -149,8 +148,6 @@ inline QVector3D::QVector3D(qreal xpos, qreal ypos, qreal zpos) : xp(xpos), yp(y inline QVector3D::QVector3D(float xpos, float ypos, float zpos, int) : xp(xpos), yp(ypos), zp(zpos) {} -inline QVector3D::QVector3D(int xpos, int ypos, int zpos) : xp(xpos), yp(ypos), zp(zpos) {} - inline QVector3D::QVector3D(const QPoint& point) : xp(point.x()), yp(point.y()), zp(0.0f) {} inline QVector3D::QVector3D(const QPointF& point) : xp(point.x()), yp(point.y()), zp(0.0f) {} |