Browse Source

Math: doc++

pull/537/head
Vladimír Vondruš 5 years ago
parent
commit
bd53b2ed1a
  1. 2
      src/Magnum/Math/Complex.h

2
src/Magnum/Math/Complex.h

@ -606,7 +606,7 @@ the same, returns the first argument. @f[
@f]
@see @ref Complex::isNormalized(), @ref lerp(const Complex<T>&, const Complex<T>&, T),
@ref slerp(const Quaternion<T>&, const Quaternion<T>&, T)
*/
*/
template<class T> inline Complex<T> slerp(const Complex<T>& normalizedA, const Complex<T>& normalizedB, T t) {
CORRADE_ASSERT(normalizedA.isNormalized() && normalizedB.isNormalized(),
"Math::slerp(): complex numbers" << normalizedA << "and" << normalizedB << "are not normalized", {});

Loading…
Cancel
Save