Browse Source

Math: make the Doxygen workaround more obvious and less verbose.

pull/107/head
Vladimír Vondruš 11 years ago
parent
commit
75eb797686
  1. 11
      src/Magnum/Math/DualQuaternion.h

11
src/Magnum/Math/DualQuaternion.h

@ -109,11 +109,12 @@ template<class T> class DualQuaternion: public Dual<Quaternion<T>> {
* \hat q = [\boldsymbol 0, 1] + \epsilon [\boldsymbol 0, 0]
* @f]
*/
#ifdef DOXYGEN_GENERATING_OUTPUT
constexpr /*implicit*/ DualQuaternion(IdentityInitT = IdentityInit);
#else
constexpr /*implicit*/ DualQuaternion(IdentityInitT = IdentityInit): Dual<Quaternion<T>>({}, {{}, T(0)}) {}
#endif
constexpr /*implicit*/ DualQuaternion(IdentityInitT = IdentityInit)
/** @todoc remove workaround when doxygen is sane */
#ifndef DOXYGEN_GENERATING_OUTPUT
: Dual<Quaternion<T>>({}, {{}, T(0)})
#endif
{}
/** @brief Construct zero-initialized dual quaternion */
constexpr explicit DualQuaternion(ZeroInitT)

Loading…
Cancel
Save