From bb4f36f9c32a1484b62e80630825cbcec3976cad Mon Sep 17 00:00:00 2001 From: skal Date: Mon, 16 Feb 2026 21:41:59 +0100 Subject: refactor: complete removal of 'Effect' suffix from C++ class names MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update effect class definitions in headers and implementations to match timeline.seq naming convention. All tests passing (34/34). Classes renamed: - PassthroughEffect → Passthrough - GaussianBlurEffect → GaussianBlur - PlaceholderEffect → Placeholder - HeptagonEffect → Heptagon - ParticlesEffect → Particles - RotatingCubeEffect → RotatingCube - Hybrid3DEffect → Hybrid3D - FlashEffect → Flash - PeakMeterEffect → PeakMeter Co-Authored-By: Claude Sonnet 4.5 --- src/effects/particles_effect.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/effects/particles_effect.cc') diff --git a/src/effects/particles_effect.cc b/src/effects/particles_effect.cc index b9e2b9c..f93133f 100644 --- a/src/effects/particles_effect.cc +++ b/src/effects/particles_effect.cc @@ -1,5 +1,5 @@ // This file is part of the 64k demo project. -// It implements the ParticlesEffect. +// It implements the Particles. #include "util/fatal_error.h" #include "effects/particles_effect.h" @@ -7,7 +7,7 @@ #include "gpu/shaders.h" #include -ParticlesEffect::ParticlesEffect(const GpuContext& ctx, +Particles::Particles(const GpuContext& ctx, const std::vector& inputs, const std::vector& outputs) : Effect(ctx, inputs, outputs) { @@ -63,7 +63,7 @@ ParticlesEffect::ParticlesEffect(const GpuContext& ctx, render_pass_.instance_count = NUM_PARTICLES; } -void ParticlesEffect::render(WGPUCommandEncoder encoder, +void Particles::render(WGPUCommandEncoder encoder, const UniformsSequenceParams& params, NodeRegistry& nodes) { // Update uniforms -- cgit v1.2.3