diff --git a/src/Math/DualQuaternion.h b/src/Math/DualQuaternion.h index d36d2e495..9bf1d185c 100644 --- a/src/Math/DualQuaternion.h +++ b/src/Math/DualQuaternion.h @@ -218,7 +218,7 @@ template class DualQuaternion: public Dual> { * Expects that the dual quaternion is normalized. @f[ * v' = qv \overline{\hat q^*} = q ([\boldsymbol 0, 1] + \epsilon [\boldsymbol v, 0]) \overline{\hat q^*} * @f] - * @see Matrix4::transformPoint(), Quaternion::rotateVectorNormalized() + * @see DualQuaternion(const Vector3&), Matrix4::transformPoint(), Quaternion::rotateVectorNormalized() */ inline Vector3 transformPointNormalized(const Vector3& vector) const { CORRADE_ASSERT(MathTypeTraits>::equals(norm(), Dual(1)), diff --git a/src/Math/Quaternion.h b/src/Math/Quaternion.h index 24245c969..8246ce995 100644 --- a/src/Math/Quaternion.h +++ b/src/Math/Quaternion.h @@ -344,10 +344,10 @@ template class Quaternion { /** * @brief %Quaternion length * - * @f[ + * See also dot() const which is faster for comparing length with other + * values. @f[ * |q| = \sqrt{q \cdot q} * @f] - * @see dot() const */ inline T length() const { return std::sqrt(dot()); @@ -403,7 +403,7 @@ template class Quaternion { * quaternions. @f[ * v' = qvq^{-1} = q [\boldsymbol v, 0] q^{-1} * @f] - * @see Matrix4::transformVector(), DualQuaternion::transformPointNormalized() + * @see Quaternion(const Vector3&), Matrix4::transformVector(), DualQuaternion::transformPointNormalized() */ inline Vector3 rotateVector(const Vector3& vector) const { return ((*this)*Quaternion(vector)*inverted()).vector(); @@ -416,7 +416,7 @@ template class Quaternion { * normalized. @f[ * v' = qvq^{-1} = qvq^* = q [\boldsymbol v, 0] q^* * @f] - * @see Matrix4::transformVector(), DualQuaternion::transformPointNormalized() + * @see Quaternion(const Vector3&), Matrix4::transformVector(), DualQuaternion::transformPointNormalized() */ inline Vector3 rotateVectorNormalized(const Vector3& vector) const { CORRADE_ASSERT(MathTypeTraits::equals(dot(), T(1)), diff --git a/src/Math/Vector.h b/src/Math/Vector.h index 3cc332854..f1c603a0d 100644 --- a/src/Math/Vector.h +++ b/src/Math/Vector.h @@ -395,10 +395,10 @@ template class Vector { /** * @brief %Vector length * - * @f[ + * See also dot() const which is faster for comparing length with other + * values. @f[ * |\boldsymbol a| = \sqrt{\boldsymbol a \cdot \boldsymbol a} * @f] - * @see dot() const */ inline T length() const { return std::sqrt(dot());