diff options
Diffstat (limited to 'tools/shadertoy')
| -rw-r--r-- | tools/shadertoy/template.cc | 2 | ||||
| -rw-r--r-- | tools/shadertoy/template.h | 10 |
2 files changed, 5 insertions, 7 deletions
diff --git a/tools/shadertoy/template.cc b/tools/shadertoy/template.cc index 81c39ba..bcaea3b 100644 --- a/tools/shadertoy/template.cc +++ b/tools/shadertoy/template.cc @@ -2,8 +2,8 @@ // ShaderToy effect implementation - REPLACE THIS LINE // TODO: Update description, rename class -#include "effects/shadertoy_effect.h" #include "effects/shaders.h" +#include "effects/shadertoy_effect.h" #include "gpu/gpu.h" #include "gpu/post_process_helper.h" #include "util/fatal_error.h" diff --git a/tools/shadertoy/template.h b/tools/shadertoy/template.h index 5f105d5..c8d132a 100644 --- a/tools/shadertoy/template.h +++ b/tools/shadertoy/template.h @@ -11,13 +11,11 @@ class ShaderToyEffect : public Effect { public: // TODO: Rename class, keep same constructor signature - ShaderToyEffect(const GpuContext& ctx, - const std::vector<std::string>& inputs, - const std::vector<std::string>& outputs, - float start_time, float end_time); + ShaderToyEffect(const GpuContext& ctx, const std::vector<std::string>& inputs, + const std::vector<std::string>& outputs, float start_time, + float end_time); - void render(WGPUCommandEncoder encoder, - const UniformsSequenceParams& params, + void render(WGPUCommandEncoder encoder, const UniformsSequenceParams& params, NodeRegistry& nodes) override; private: |
