summaryrefslogtreecommitdiff
path: root/src/effects/particles_effect_v2.h
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-16 14:32:59 +0100
committerskal <pascal.massimino@gmail.com>2026-02-16 14:32:59 +0100
commitb2ede3f0680edc894a54e28374cb87ab2690afa2 (patch)
tree69e0a8c04eb29be953b037eb98e0a9ac0f1b417a /src/effects/particles_effect_v2.h
parent0fd3c982247d05bacbd67db08c865ec67602437f (diff)
refactor: remove v2 versioning artifacts, establish Sequence as canonical system
Complete v1→v2 migration cleanup: rename 29 files (sequence_v2→sequence, effect_v2→effect, 14 effect files, 8 shaders, compiler, docs), update all class names and references across 54 files. Archive v1 timeline. System now uses standard naming with all versioning removed. 30/34 tests passing. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'src/effects/particles_effect_v2.h')
-rw-r--r--src/effects/particles_effect_v2.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/src/effects/particles_effect_v2.h b/src/effects/particles_effect_v2.h
deleted file mode 100644
index f0f260c..0000000
--- a/src/effects/particles_effect_v2.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// This file is part of the 64k demo project.
-// It declares the ParticlesEffectV2.
-
-#pragma once
-
-#include "gpu/effect_v2.h"
-#include "gpu/gpu.h"
-#include "gpu/uniform_helper.h"
-#include <vector>
-
-// Particle structure
-static const int NUM_PARTICLES = 10000;
-
-struct Particle {
- float pos[4];
- float vel[4];
- float rot[4];
- float color[4];
-};
-
-class ParticlesEffectV2 : public EffectV2 {
- public:
- ParticlesEffectV2(const GpuContext& ctx,
- const std::vector<std::string>& inputs,
- const std::vector<std::string>& outputs);
- void render(WGPUCommandEncoder encoder,
- const UniformsSequenceParams& params,
- NodeRegistry& nodes) override;
-
- private:
- ComputePass compute_pass_;
- RenderPass render_pass_;
- GpuBuffer particles_buffer_;
- UniformBuffer<UniformsSequenceParams> uniforms_;
-};