mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Core: Replace C math headers with C++ equivalents
- Minor restructuring to ensure `math_funcs.h` is the central point for math functions
This commit is contained in:
parent
c5c1cd4440
commit
ad40939b6f
101 changed files with 414 additions and 498 deletions
|
|
@ -46,7 +46,7 @@ void AudioEffectPhaserInstance::process(const AudioFrame *p_src_frames, AudioFra
|
|||
phase -= Math::TAU;
|
||||
}
|
||||
|
||||
float d = dmin + (dmax - dmin) * ((sin(phase) + 1.f) / 2.f);
|
||||
float d = dmin + (dmax - dmin) * ((std::sin(phase) + 1.f) / 2.f);
|
||||
|
||||
//update filter coeffs
|
||||
for (int j = 0; j < 6; j++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue