Browse Source

Math: doc++

pull/278/head
Vladimír Vondruš 13 years ago
parent
commit
73a4e9b18a
  1. 5
      src/Math/Quaternion.h

5
src/Math/Quaternion.h

@ -247,7 +247,8 @@ template<class T> class Quaternion {
* Expects that the quaternion is normalized. @f[ * Expects that the quaternion is normalized. @f[
* \theta = 2 \cdot acos q_S * \theta = 2 \cdot acos q_S
* @f] * @f]
* @see rotationAxis(), rotation(), DualQuaternion::rotationAngle() * @see isNormalized(), rotationAxis(), rotation(),
* DualQuaternion::rotationAngle()
*/ */
inline Rad<T> rotationAngle() const { inline Rad<T> rotationAngle() const {
CORRADE_ASSERT(isNormalized(), CORRADE_ASSERT(isNormalized(),
@ -264,7 +265,7 @@ template<class T> class Quaternion {
* default-constructed quaternion. @f[ * default-constructed quaternion. @f[
* \boldsymbol a = \frac{\boldsymbol q_V}{\sqrt{1 - q_S^2}} * \boldsymbol a = \frac{\boldsymbol q_V}{\sqrt{1 - q_S^2}}
* @f] * @f]
* @see rotationAngle(), rotation() * @see isNormalized(), rotationAngle(), rotation()
*/ */
inline Vector3<T> rotationAxis() const { inline Vector3<T> rotationAxis() const {
CORRADE_ASSERT(isNormalized(), CORRADE_ASSERT(isNormalized(),

Loading…
Cancel
Save