diff options
| author | skal <pascal.massimino@gmail.com> | 2026-03-05 22:55:56 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-03-05 22:55:56 +0100 |
| commit | 34afbd6ca21d2b960573d787e6eae46fa86b200e (patch) | |
| tree | 08450aeff4c67fb300428e705910265e6cd59943 /tools/shadertoy | |
| parent | 35c9ebb0a7ce0e726f631a2b04bb26098926cfab (diff) | |
style: run clang-format to adhere to coding style
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: |
