From 65e15f238e0cfd9cf58ab3909e096316940b0ea2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 12 May 2023 16:56:54 +0200 Subject: [PATCH] Math: improve Vector::flipped() docs. --- src/Magnum/Math/Vector.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Magnum/Math/Vector.h b/src/Magnum/Math/Vector.h index cd39d3271..79cdc95ff 100644 --- a/src/Magnum/Math/Vector.h +++ b/src/Magnum/Math/Vector.h @@ -344,7 +344,7 @@ template class Vector { * Enabled only for signed types. @f[ * \boldsymbol b_i = -\boldsymbol a_i * @f] - * @see @ref Vector2::perpendicular() + * @see @ref flipped(), @ref Vector2::perpendicular() */ #ifdef DOXYGEN_GENERATING_OUTPUT Vector @@ -634,8 +634,10 @@ template class Vector { /** * @brief Flipped vector * - * Returns the vector with components in reverse order. - * @see @ref RectangularMatrix::flippedCols(), + * Returns the vector with components in reverse order. If you want to + * flip the vector *direction* instead, negate it. + * @see @ref operator-() const, + * @ref RectangularMatrix::flippedCols(), * @ref RectangularMatrix::flippedRows() */ constexpr Vector flipped() const {