osci-render/Source/audio/PerspectiveEffect.h

18 wiersze
397 B
C
Czysty Zwykły widok Historia

2023-07-21 16:42:29 +00:00
#pragma once
#include "EffectApplication.h"
2024-01-07 16:17:20 +00:00
#include "../shape/Point.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
Point apply(int index, Point 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
};