1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fixed doxygen deprecated bug

This commit is contained in:
Noah Dayan 2018-03-22 13:06:20 +00:00
parent ec296d8c4c
commit 9e867255d3

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>