summaryrefslogtreecommitdiff
path: root/crates/renderer/src/overlay.rs
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2026-06-09 03:20:53 -0400
committerLLLL Colonq <llll@colonq>2026-06-09 03:20:53 -0400
commit9065f3c9765123f5f5bc503407c493fdb7c79488 (patch)
treea442c9be93715217fd6e05b1bab2a20dc2fe7d18 /crates/renderer/src/overlay.rs
parent01899d77e0e04a470fbc1ca000fef6e467334516 (diff)
Initial handcam stuff
Diffstat (limited to 'crates/renderer/src/overlay.rs')
-rw-r--r--crates/renderer/src/overlay.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/crates/renderer/src/overlay.rs b/crates/renderer/src/overlay.rs
index 40775af..7ccf1f5 100644
--- a/crates/renderer/src/overlay.rs
+++ b/crates/renderer/src/overlay.rs
@@ -1,3 +1,5 @@
+pub mod asset;
+
pub mod model;
pub mod shader;
pub mod drawing;
@@ -6,9 +8,8 @@ pub mod tcg;
pub mod loopback;
pub mod clippy;
pub mod combo;
-pub mod asset;
+pub mod handcam;
-use redis::Commands;
use teleia::*;
use std::f32::consts::PI;
@@ -158,7 +159,7 @@ pub struct Overlays {
overlays: Vec<Box<dyn Overlay>>
}
impl Overlays {
- pub fn new(ctx: &context::Context, overlays: Vec<Box<dyn Overlay>>) -> Self {
+ pub fn new(ctx: &context::Context, st: &mut state::State, overlays: Vec<Box<dyn Overlay>>) -> Self {
Self {
state: State::new(ctx),
overlays,