You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-01 16:38:31 +00:00
Fix some copy-paste mistakes in linear/db volume functions
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user