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