From 99a9b8c0bcc345f7044ab18840e78ee9263cae9b Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Thu, 23 Oct 2025 18:22:44 -0400 Subject: Add audio loopback overlay --- crates/renderer/src/overlay/automata.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/renderer/src/overlay/automata.rs') diff --git a/crates/renderer/src/overlay/automata.rs b/crates/renderer/src/overlay/automata.rs index 22f7884..fbbc138 100644 --- a/crates/renderer/src/overlay/automata.rs +++ b/crates/renderer/src/overlay/automata.rs @@ -115,6 +115,7 @@ impl CellBuffer { pub fn get(&self, x: i32, y: i32) -> Cell { self.buf[Self::idx(x, y)] } + pub fn neighbors(&self, x: i32, y: i32) -> [Cell; 8] { [ self.get(x-1, y-1), self.get(x, y-1), -- cgit v1.2.3