kopia lustrzana https://github.com/jameshball/osci-render
18 wiersze
384 B
C++
18 wiersze
384 B
C++
#pragma once
|
|
#include "EffectApplication.h"
|
|
#include "../shape/Point.h"
|
|
#include "../audio/Effect.h"
|
|
#include "../obj/Camera.h"
|
|
|
|
class PerspectiveEffect : public EffectApplication {
|
|
public:
|
|
PerspectiveEffect();
|
|
~PerspectiveEffect();
|
|
|
|
Point apply(int index, Point input, const std::vector<double>& values, double sampleRate) override;
|
|
|
|
private:
|
|
|
|
Camera camera;
|
|
};
|