Browse Source

DebugTools: remove ForceRendererOptions::scale() deprecated in 2019.10.

pull/659/head
Vladimír Vondruš 1 year ago
parent
commit
c6ba6282e5
  1. 2
      doc/changelog.dox
  2. 8
      src/Magnum/DebugTools/ForceRenderer.h

2
doc/changelog.dox

@ -1745,6 +1745,8 @@ See also:
- @cpp TextureTools::distanceField() @ce, use the - @cpp TextureTools::distanceField() @ce, use the
@ref TextureTools::DistanceFieldGL class instead. @ref TextureTools::DistanceFieldGL class instead.
- Removed APIs deprecated in 2019.10, in particular: - Removed APIs deprecated in 2019.10, in particular:
- @cpp DebugTools::ForceRendererOptions::scale() @ce, use
@ref DebugTools::ForceRendererOptions::size() instead
- @cpp Math::Color3::Hsv @ce and @cpp Math::Color4::Hsv @ce - @cpp Math::Color3::Hsv @ce and @cpp Math::Color4::Hsv @ce
@ref std::tuple typedefs and @ref Math::Color3::fromHsv() / @ref std::tuple typedefs and @ref Math::Color3::fromHsv() /
@ref Math::Color4::fromHsv() overloads taking separate hue, saturation @ref Math::Color4::fromHsv() overloads taking separate hue, saturation

8
src/Magnum/DebugTools/ForceRenderer.h

@ -73,14 +73,6 @@ class ForceRendererOptions {
/** @brief Size of rendered arrow */ /** @brief Size of rendered arrow */
constexpr Float size() const { return _size; } constexpr Float size() const { return _size; }
#ifdef MAGNUM_BUILD_DEPRECATED
/**
* @brief @copybrief size()
* @m_deprecated_since{2019,10} Use @ref size() instead.
*/
constexpr CORRADE_DEPRECATED("use size() instead") Float scale() const { return _size; }
#endif
/** /**
* @brief Set scale of rendered arrow * @brief Set scale of rendered arrow
* @return Reference to self (for method chaining) * @return Reference to self (for method chaining)

Loading…
Cancel
Save