kopia lustrzana https://github.com/jameshball/osci-render
13 wiersze
327 B
C++
13 wiersze
327 B
C++
#pragma once
|
|
#include "EffectApplication.h"
|
|
#include "../shape/Vector2.h"
|
|
|
|
class DistortEffect : public EffectApplication {
|
|
public:
|
|
DistortEffect(bool vertical);
|
|
~DistortEffect();
|
|
|
|
Vector2 apply(int index, Vector2 input, const std::vector<double>& values, double sampleRate) override;
|
|
private:
|
|
bool vertical;
|
|
}; |