diff --git a/src/Magnum/Math/Vector.h b/src/Magnum/Math/Vector.h index 9aa0bc200..b426b29f0 100644 --- a/src/Magnum/Math/Vector.h +++ b/src/Magnum/Math/Vector.h @@ -111,7 +111,10 @@ the same general direction, `1` when two *normalized* vectors are parallel, * *normalized* vectors are antiparallel. @f[ \boldsymbol a \cdot \boldsymbol b = \sum_{i=0}^{n-1} \boldsymbol a_i \boldsymbol b_i @f] -@see @ref Vector::dot() const, @ref Vector::operator-(), @ref Vector2::perpendicular() +@see @ref Vector::dot() const, @ref Vector::operator-(), + @ref Vector2::perpendicular(), + @ref cross(const Vector3&, const Vector3&), + @ref cross(const Vector2&, const Vector2&) */ template inline T dot(const Vector& a, const Vector& b) { T out{}; diff --git a/src/Magnum/Math/Vector3.h b/src/Magnum/Math/Vector3.h index 5d50c0832..f558a3c17 100644 --- a/src/Magnum/Math/Vector3.h +++ b/src/Magnum/Math/Vector3.h @@ -54,7 +54,8 @@ gives the direction of its normal, and is its area. Length of a cross product is also related to a distance of a point and a line, see @ref Distance::linePoint(const Vector3&, const Vector3&, const Vector3&) for more information. -@see @ref cross(const Vector2&, const Vector2&), @ref planeEquation() +@see @ref cross(const Vector2&, const Vector2&), @ref planeEquation(), + @ref dot(const Vector&, const Vector&) */ template inline Vector3 cross(const Vector3& a, const Vector3& b) { return {