diff options
Diffstat (limited to 'src/gui/math3d/qvector3d.cpp')
-rw-r--r-- | src/gui/math3d/qvector3d.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/math3d/qvector3d.cpp b/src/gui/math3d/qvector3d.cpp index 1cb73a1fa2..7e3ed7c61b 100644 --- a/src/gui/math3d/qvector3d.cpp +++ b/src/gui/math3d/qvector3d.cpp @@ -316,12 +316,10 @@ void QVector3D::normalize() /*! Returns the dot product of \a v1 and \a v2. */ -#if defined(QT_BUILD_GUI_LIB) && !defined(QT_STATIC) float QVector3D::dotProduct(const QVector3D& v1, const QVector3D& v2) { return v1.xp * v2.xp + v1.yp * v2.yp + v1.zp * v2.zp; } -#endif /*! Returns the cross-product of vectors \a v1 and \a v2, which corresponds @@ -329,14 +327,12 @@ float QVector3D::dotProduct(const QVector3D& v1, const QVector3D& v2) \sa normal() */ -#if defined(QT_BUILD_GUI_LIB) && !defined(QT_STATIC) QVector3D QVector3D::crossProduct(const QVector3D& v1, const QVector3D& v2) { return QVector3D(v1.yp * v2.zp - v1.zp * v2.yp, v1.zp * v2.xp - v1.xp * v2.zp, v1.xp * v2.yp - v1.yp * v2.xp); } -#endif /*! Returns the normal vector of a plane defined by vectors \a v1 and \a v2, |