From 8ce27b7e15f0fc65c8ee78950c7501660b936178 Mon Sep 17 00:00:00 2001 From: skal Date: Sat, 14 Feb 2026 15:14:25 +0100 Subject: style: Apply clang-format to codebase --- src/gpu/demo_effects.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/gpu/demo_effects.h') diff --git a/src/gpu/demo_effects.h b/src/gpu/demo_effects.h index beadafb..a9258af 100644 --- a/src/gpu/demo_effects.h +++ b/src/gpu/demo_effects.h @@ -7,16 +7,16 @@ #include "3d/scene.h" #include "effect.h" #include "effects/circle_mask_effect.h" -#include "effects/fade_effect.h" // FadeEffect with full definition +#include "effects/fade_effect.h" // FadeEffect with full definition +#include "effects/flash_cube_effect.h" #include "effects/flash_effect.h" // FlashEffect with params support -#include "gpu/post_process_helper.h" -#include "effects/rotating_cube_effect.h" -#include "gpu/shaders.h" -#include "effects/theme_modulation_effect.h" // ThemeModulationEffect with full definition #include "effects/hybrid_3d_effect.h" -#include "effects/flash_cube_effect.h" +#include "effects/rotating_cube_effect.h" #include "effects/scene1_effect.h" +#include "effects/theme_modulation_effect.h" // ThemeModulationEffect with full definition #include "gpu/gpu.h" +#include "gpu/post_process_helper.h" +#include "gpu/shaders.h" #include "gpu/texture_manager.h" #include "gpu/uniform_helper.h" #include @@ -165,7 +165,8 @@ struct DistortParams { float strength = 0.01f; // Default distortion strength float speed = 1.0f; // Default distortion speed }; -static_assert(sizeof(DistortParams) == 8, "DistortParams must be 8 bytes for WGSL alignment"); +static_assert(sizeof(DistortParams) == 8, + "DistortParams must be 8 bytes for WGSL alignment"); class DistortEffect : public PostProcessEffect { public: @@ -180,7 +181,6 @@ class DistortEffect : public PostProcessEffect { UniformBuffer params_buffer_; }; - #include "effects/cnn_effect.h" #include "effects/cnn_v2_effect.h" -- cgit v1.2.3