summaryrefslogtreecommitdiffstats
path: root/src/gui/math3d/qvector4d.h
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-04-15 21:56:08 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-04-15 21:56:08 (GMT)
commitc51b0e8389f52f895a9d69e9e96c1fd768d78bf4 (patch)
treea77e655a6539326b9ea2087d64358a70237a9466 /src/gui/math3d/qvector4d.h
parentca83968f235c731f3bd1eb38e3c97d38d34565a0 (diff)
downloadQt-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/qvector4d.h')
-rw-r--r--src/gui/math3d/qvector4d.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/math3d/qvector4d.h b/src/gui/math3d/qvector4d.h
index 12efc95..8e673f3 100644
--- a/src/gui/math3d/qvector4d.h
+++ b/src/gui/math3d/qvector4d.h
@@ -63,7 +63,6 @@ class Q_GUI_EXPORT QVector4D
public:
QVector4D();
QVector4D(qreal xpos, qreal ypos, qreal zpos, qreal wpos);
- QVector4D(int xpos, int ypos, int zpos, int wpos);
explicit QVector4D(const QPoint& point);
explicit QVector4D(const QPointF& point);
#ifndef QT_NO_VECTOR2D
@@ -146,8 +145,6 @@ inline QVector4D::QVector4D(qreal xpos, qreal ypos, qreal zpos, qreal wpos) : xp
inline QVector4D::QVector4D(float xpos, float ypos, float zpos, float wpos, int) : xp(xpos), yp(ypos), zp(zpos), wp(wpos) {}
-inline QVector4D::QVector4D(int xpos, int ypos, int zpos, int wpos) : xp(xpos), yp(ypos), zp(zpos), wp(wpos) {}
-
inline QVector4D::QVector4D(const QPoint& point) : xp(point.x()), yp(point.y()), zp(0.0f), wp(0.0f) {}
inline QVector4D::QVector4D(const QPointF& point) : xp(point.x()), yp(point.y()), zp(0.0f), wp(0.0f) {}