summaryrefslogtreecommitdiff
path: root/src/gpu/gpu.h
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-01-28 10:34:15 +0100
committerskal <pascal.massimino@gmail.com>2026-01-28 10:34:15 +0100
commitc384515c8ea933757c97886c3bf1554e2fd62b04 (patch)
tree79f7047d10777210dfb31185adc9dda282d09387 /src/gpu/gpu.h
parentf12b5ebc74825817df54677e261b92200bfac84a (diff)
feat(visuals): Add rotation, color shifts, and improved beat-sync
Implements a more dynamic and reactive visual system. - Updated synth.cc: Faster peak decay for better response. - Updated gpu.cc: Added time-based rotation and Hue shifting; implemented reactive clear-color flashes. - Updated main.cc: Corrected peak scaling (8x multiplier) and integrated time-based animation.
Diffstat (limited to 'src/gpu/gpu.h')
-rw-r--r--src/gpu/gpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/gpu.h b/src/gpu/gpu.h
index 028b31b..00f5450 100644
--- a/src/gpu/gpu.h
+++ b/src/gpu/gpu.h
@@ -6,5 +6,5 @@
struct GLFWwindow;
void gpu_init(GLFWwindow *window);
-void gpu_draw(float audio_peak, float aspect_ratio);
-void gpu_shutdown(); \ No newline at end of file
+void gpu_draw(float audio_peak, float aspect_ratio, float time);
+void gpu_shutdown();