diff --git a/doc/changelog.dox b/doc/changelog.dox index e07168335..f27ae8510 100644 --- a/doc/changelog.dox +++ b/doc/changelog.dox @@ -173,6 +173,9 @@ See also: - Removed availability of @ref Math::Color3 and @ref Math::Color4 literals in the root namespace, deprecated since April 2016. Explicitly call @cpp using namespace Math::Literals; @ce instead. +- Removed @cpp Math::normalize() @ce and @cpp Math::denormalize() @ce + functions, deprecated since December 2016. Use @ref Math::pack() and + @ref Math::unpack() instead. @section changelog-2018-10 2018.10 diff --git a/src/Magnum/Math/Functions.h b/src/Magnum/Math/Functions.h index 5a8e1ac49..da3ed7b97 100644 --- a/src/Magnum/Math/Functions.h +++ b/src/Magnum/Math/Functions.h @@ -712,11 +712,4 @@ template inline Vector fma(const Vector CORRADE_DEPRECATED("use unpack() instead") inline FloatingPoint normalize(const Integral& value) { - return unpack(value); -} -#endif - /** @brief Pack floating-point value into an integer representation @@ -189,15 +180,6 @@ template CORRADE_DEPRECATED("use pack() instead") inline Integral denormalize(const FloatingPoint& value) { - return pack(value); -} -#endif - /** @brief Pack 32-bit float value into 16-bit half-float representation