osci-render/Source/audio/PerspectiveEffect.h

18 wiersze
409 B
C
Czysty Zwykły widok Historia

2023-07-21 16:42:29 +00:00
#pragma once
#include "EffectApplication.h"
#include "../shape/OsciPoint.h"
2023-07-21 16:42:29 +00:00
#include "../audio/Effect.h"
#include "../obj/Camera.h"
2023-07-21 16:42:29 +00:00
class PerspectiveEffect : public EffectApplication {
public:
PerspectiveEffect();
~PerspectiveEffect();
2023-07-21 16:42:29 +00:00
OsciPoint apply(int index, OsciPoint input, const std::vector<std::atomic<double>>& values, double sampleRate) override;
2023-07-21 16:42:29 +00:00
private:
Camera camera;
2023-09-01 18:52:36 +00:00
};