Browse Source

Fixed doxygen deprecated bug

tags/2021-05-28
Noah Dayan 7 years ago
parent
commit
9e867255d3
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      modules/juce_core/maths/juce_MathsFunctions.h

+ 2
- 2
modules/juce_core/maths/juce_MathsFunctions.h View File

@@ -387,7 +387,7 @@ const FloatType MathConstants<FloatType>::sqrt2 = static_cast<FloatType> (1.4142
#endif
#ifndef DOXYGEN
/** A double-precision constant for pi.
@deprecated This is deprecated in favour of MathConstants<double>::pi.
The reason is that "double_Pi" was a confusing name, and many people misused it,
@@ -401,7 +401,7 @@ const JUCE_CONSTEXPR double double_Pi = MathConstants<double>::pi;
wrongly thinking it meant 2 * pi !
*/
const JUCE_CONSTEXPR float float_Pi = MathConstants<float>::pi;
#endif
/** Converts an angle in degrees to radians. */
template <typename FloatType>


Loading…
Cancel
Save