Closed ndonald2 closed 1 year ago
Very small change to the interface of Tone to accept a float param for the SetCutoff and Process methods by value instead of by reference.
Tone
float
SetCutoff
Process
The reason for the change is twofold:
tone.SetFreq(5000.0f)
lol the amount of temporary branches that i've done this on while working on other stuff ðŸ˜
Thanks for the PR!
Summary
Very small change to the interface of
Tone
to accept afloat
param for theSetCutoff
andProcess
methods by value instead of by reference.Details
The reason for the change is twofold:
tone.SetFreq(5000.0f)
will not compile.