camera: fix camera movement
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 8m11s

This commit is contained in:
Florian RICHER 2025-05-29 13:54:00 +02:00
parent f835941432
commit 998aa68da1
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77
10 changed files with 83 additions and 103 deletions

View file

@ -11,8 +11,8 @@ pub use manager::SceneManager;
pub trait Scene {
fn loaded(&self) -> bool;
fn load(&mut self, scene_context: &SceneContext);
fn update(&mut self, scene_context: &SceneContext);
fn load(&mut self, scene_context: &SceneContext) -> Result<(), Box<dyn Error>>;
fn update(&mut self, scene_context: &SceneContext) -> Result<(), Box<dyn Error>>;
fn render(
&mut self,
image_view: &Arc<ImageView>,