camera: fix camera movement
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 8m11s
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 8m11s
This commit is contained in:
parent
f835941432
commit
998aa68da1
10 changed files with 83 additions and 103 deletions
|
@ -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>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue