Browse Source

Math: doc++

pull/680/head
Vladimír Vondruš 9 months ago
parent
commit
c232a57325
  1. 2
      src/Magnum/Math/Quaternion.h
  2. 2
      src/Magnum/Math/Vector2.h

2
src/Magnum/Math/Quaternion.h

@ -801,7 +801,7 @@ template<class T> class Quaternion {
* \boldsymbol v' = qvq = q [\boldsymbol v, 0] q * \boldsymbol v' = qvq = q [\boldsymbol v, 0] q
* @f] * @f]
* You can use @ref reflection() to create a quaternion reflecting * You can use @ref reflection() to create a quaternion reflecting
* along given normal. Note that it's **not possible to combine * along given normal. Note that it's *not* possible to combine
* reflections and rotations with the usual quaternion multiplication. * reflections and rotations with the usual quaternion multiplication.
* Assuming a (normalized) rotation quaternion @f$ r @f$, a combined * Assuming a (normalized) rotation quaternion @f$ r @f$, a combined
* rotation and reflection of vector @f$ v @f$ would look like this * rotation and reflection of vector @f$ v @f$ would look like this

2
src/Magnum/Math/Vector2.h

@ -196,7 +196,7 @@ template<class T> class Vector2: public Vector<2, T> {
constexpr const T& r() const { return Vector<2, T>::_data[0]; } constexpr const T& r() const { return Vector<2, T>::_data[0]; }
/** /**
* @brief Y component * @brief G component
* @m_since_latest * @m_since_latest
* *
* Equivalent to @ref y(). * Equivalent to @ref y().

Loading…
Cancel
Save