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

Loading…
Cancel
Save