diff options
Diffstat (limited to 'src/gui/math3d/qvector4d.cpp')
-rw-r--r-- | src/gui/math3d/qvector4d.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/gui/math3d/qvector4d.cpp b/src/gui/math3d/qvector4d.cpp index 3603f655cb..b6d239e5ea 100644 --- a/src/gui/math3d/qvector4d.cpp +++ b/src/gui/math3d/qvector4d.cpp @@ -359,6 +359,16 @@ void QVector4D::normalize() */ /*! + \fn QVector4D &QVector4D::operator/=(const QVector4D &vector) + \since 5.5 + + Divides the components of this vector by the corresponding + components in \a vector. + + \sa operator*=() +*/ + +/*! Returns the dot product of \a v1 and \a v2. */ float QVector4D::dotProduct(const QVector4D& v1, const QVector4D& v2) @@ -452,6 +462,17 @@ float QVector4D::dotProduct(const QVector4D& v1, const QVector4D& v2) */ /*! + \fn const QVector4D operator/(const QVector4D &vector, const QVector4D &divisor) + \relates QVector4D + \since 5.5 + + Returns the QVector4D object formed by dividing components of the given + \a vector by a respective components of the given \a divisor. + + \sa QVector4D::operator/=() +*/ + +/*! \fn bool qFuzzyCompare(const QVector4D& v1, const QVector4D& v2) \relates QVector4D |