diff options
| author | Rémi Verschelde | 2015-09-26 16:47:59 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2015-09-26 21:06:12 +0200 |
| commit | 1e147c4945cfde20d05a58d435eb8f748019eb72 (patch) | |
| tree | e8de92dad4d44ad8c61f270ac243ba950fa8fedb /core/math | |
| parent | 3bf24eeb6b13dba2315457a3bdf108b8f2e289f9 (diff) | |
| download | godot-1e147c4945cfde20d05a58d435eb8f748019eb72.tar.gz godot-1e147c4945cfde20d05a58d435eb8f748019eb72.tar.zst godot-1e147c4945cfde20d05a58d435eb8f748019eb72.zip | |
Diffstat (limited to 'core/math')
| -rw-r--r-- | core/math/math_funcs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/math/math_funcs.h b/core/math/math_funcs.h index 33175ed2f..ec089ebc8 100644 --- a/core/math/math_funcs.h +++ b/core/math/math_funcs.h @@ -79,9 +79,9 @@ public: return Math::log( p_linear ) * 8.6858896380650365530225783783321; } - static inline double db2linear(double p_linear) { + static inline double db2linear(double p_db) { - return Math::exp( p_linear * 0.11512925464970228420089957273422 ); + return Math::exp( p_db * 0.11512925464970228420089957273422 ); } static bool is_nan(double p_val); |
