summaryrefslogtreecommitdiff
path: root/src/gpu/effects/flash_cube_effect.h
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-09 11:39:54 +0100
committerskal <pascal.massimino@gmail.com>2026-02-09 11:39:54 +0100
commitd48aac685ecd47a80e0752011a1d78bc86094947 (patch)
tree8b36b3c4a212e05aeae91c560346a73f0e7987b6 /src/gpu/effects/flash_cube_effect.h
parentfd19130b3360d17b44247ec26533b20e051b7f8c (diff)
Refactor Effect class to centralize common uniforms management
Moved to Effect base class. Updated all subclasses to use the base member, removing redundant declarations and initializations. Cleaned up by removing redundant class definitions and including specific headers. Fixed a typo in DistortEffect constructor.
Diffstat (limited to 'src/gpu/effects/flash_cube_effect.h')
-rw-r--r--src/gpu/effects/flash_cube_effect.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gpu/effects/flash_cube_effect.h b/src/gpu/effects/flash_cube_effect.h
index 7089af2..5faeb00 100644
--- a/src/gpu/effects/flash_cube_effect.h
+++ b/src/gpu/effects/flash_cube_effect.h
@@ -22,8 +22,6 @@ class FlashCubeEffect : public Effect {
TextureManager texture_manager_;
Scene scene_;
Camera camera_;
- int width_ = 1280;
- int height_ = 720;
float last_beat_ = 0.0f;
float flash_intensity_ = 0.0f;
};