Browse Source

Math: improve Vector::flipped() docs.

pull/620/head
Vladimír Vondruš 3 years ago
parent
commit
65e15f238e
  1. 8
      src/Magnum/Math/Vector.h

8
src/Magnum/Math/Vector.h

@ -344,7 +344,7 @@ template<std::size_t size, class T> class Vector {
* Enabled only for signed types. @f[ * Enabled only for signed types. @f[
* \boldsymbol b_i = -\boldsymbol a_i * \boldsymbol b_i = -\boldsymbol a_i
* @f] * @f]
* @see @ref Vector2::perpendicular() * @see @ref flipped(), @ref Vector2::perpendicular()
*/ */
#ifdef DOXYGEN_GENERATING_OUTPUT #ifdef DOXYGEN_GENERATING_OUTPUT
Vector<size, T> Vector<size, T>
@ -634,8 +634,10 @@ template<std::size_t size, class T> class Vector {
/** /**
* @brief Flipped vector * @brief Flipped vector
* *
* Returns the vector with components in reverse order. * Returns the vector with components in reverse order. If you want to
* @see @ref RectangularMatrix::flippedCols(), * flip the vector *direction* instead, negate it.
* @see @ref operator-() const,
* @ref RectangularMatrix::flippedCols(),
* @ref RectangularMatrix::flippedRows() * @ref RectangularMatrix::flippedRows()
*/ */
constexpr Vector<size, T> flipped() const { constexpr Vector<size, T> flipped() const {

Loading…
Cancel
Save