From b2ede3f0680edc894a54e28374cb87ab2690afa2 Mon Sep 17 00:00:00 2001 From: skal Date: Mon, 16 Feb 2026 14:32:59 +0100 Subject: refactor: remove v2 versioning artifacts, establish Sequence as canonical system MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/effects/rotating_cube_effect_v2.h | 49 ----------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 src/effects/rotating_cube_effect_v2.h (limited to 'src/effects/rotating_cube_effect_v2.h') diff --git a/src/effects/rotating_cube_effect_v2.h b/src/effects/rotating_cube_effect_v2.h deleted file mode 100644 index 19ef410..0000000 --- a/src/effects/rotating_cube_effect_v2.h +++ /dev/null @@ -1,49 +0,0 @@ -// This file is part of the 64k demo project. -// It declares RotatingCubeEffectV2 (simplified v2 port). - -#pragma once - -#include "gpu/effect_v2.h" -#include "gpu/gpu.h" -#include "gpu/uniform_helper.h" -#include "util/mini_math.h" - -class RotatingCubeEffectV2 : public EffectV2 { - public: - RotatingCubeEffectV2(const GpuContext& ctx, - const std::vector& inputs, - const std::vector& outputs); - ~RotatingCubeEffectV2() override; - - void declare_nodes(NodeRegistry& registry) override; - void render(WGPUCommandEncoder encoder, - const UniformsSequenceParams& params, - NodeRegistry& nodes) override; - - private: - struct Uniforms { - mat4 view_proj; - mat4 inv_view_proj; - vec4 camera_pos_time; - vec4 params; - vec2 resolution; - float aspect_ratio; - float _pad; - }; - static_assert(sizeof(Uniforms) == 176, "Uniforms size mismatch"); - - struct ObjectData { - mat4 model; - mat4 inv_model; - vec4 color; - vec4 params; - }; - static_assert(sizeof(ObjectData) == 160, "ObjectData size mismatch"); - - WGPURenderPipeline pipeline_ = nullptr; - WGPUBindGroup bind_group_ = nullptr; - GpuBuffer uniform_buffer_; - GpuBuffer object_buffer_; - float rotation_ = 0.0f; - std::string depth_node_; -}; -- cgit v1.2.3