1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-01 03:10:06 +00:00

Began phasing out double_Pi and float_Pi in favour of MathConstants::pi. Also added MathConstants::twoPi

This commit is contained in:
jules 2017-12-06 11:16:22 +00:00
parent daab5147c2
commit d0111a4f96
49 changed files with 307 additions and 292 deletions

View file

@ -1700,7 +1700,7 @@ struct JavascriptEngine::RootObject : public DynamicObject
setMethod ("sqr", Math_sqr); setMethod ("sqrt", Math_sqrt);
setMethod ("ceil", Math_ceil); setMethod ("floor", Math_floor);
setProperty ("PI", double_Pi);
setProperty ("PI", MathConstants<double>::pi);
setProperty ("E", exp (1.0));
}