kopia lustrzana https://github.com/jameshball/osci-render
11 wiersze
266 B
C++
11 wiersze
266 B
C++
![]() |
#include "RotateEffect.h"
|
||
|
|
||
|
RotateEffect::RotateEffect() {}
|
||
|
|
||
|
RotateEffect::~RotateEffect() {}
|
||
|
|
||
|
Vector2 RotateEffect::apply(int index, Vector2 input, double value, double frequency, double sampleRate) {
|
||
|
input.rotate(nextPhase(value, sampleRate));
|
||
|
return input;
|
||
|
}
|