summaryrefslogtreecommitdiff
path: root/src/effects/rotating_cube_effect.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/effects/rotating_cube_effect.h')
-rw-r--r--src/effects/rotating_cube_effect.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/effects/rotating_cube_effect.h b/src/effects/rotating_cube_effect.h
index 1c0155a..e773025 100644
--- a/src/effects/rotating_cube_effect.h
+++ b/src/effects/rotating_cube_effect.h
@@ -8,16 +8,15 @@
#include "gpu/uniform_helper.h"
#include "util/mini_math.h"
-class RotatingCubeEffect : public Effect {
+class RotatingCube : public Effect {
public:
- RotatingCubeEffect(const GpuContext& ctx,
- const std::vector<std::string>& inputs,
- const std::vector<std::string>& outputs);
- ~RotatingCubeEffect() override;
+ RotatingCube(const GpuContext& ctx, const std::vector<std::string>& inputs,
+ const std::vector<std::string>& outputs, float start_time,
+ float end_time);
+ ~RotatingCube() override;
void declare_nodes(NodeRegistry& registry) override;
- void render(WGPUCommandEncoder encoder,
- const UniformsSequenceParams& params,
+ void render(WGPUCommandEncoder encoder, const UniformsSequenceParams& params,
NodeRegistry& nodes) override;
private: