Browse Source

Math: put reflect() and refract() outside of irrelevant group.

Got overlooked when merging this contribution.
pull/481/head
Vladimír Vondruš 6 years ago
parent
commit
8019b285bd
  1. 12
      src/Magnum/Math/Functions.h

12
src/Magnum/Math/Functions.h

@ -709,6 +709,12 @@ template<std::size_t size, class T> inline Vector<size, T> sqrtInverted(const Ve
return Vector<size, T>(T(1))/Math::sqrt(a);
}
/* Since 1.8.17, the original short-hand group closing doesn't work anymore.
FFS. */
/**
* @}
*/
/**
@brief Reflect a vector
@m_since{2020,06}
@ -761,12 +767,6 @@ template<std::size_t size, class T> inline Vector<size, T> refract(const Vector<
return eta*vector - (eta*dot + std::sqrt(k))*normal;
}
/* Since 1.8.17, the original short-hand group closing doesn't work anymore.
FFS. */
/**
* @}
*/
}}
#endif

Loading…
Cancel
Save