Skip to content

Commit

Permalink
Update model name
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Jun 6, 2023
1 parent 437a1f1 commit 8b5709e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/fj-window/src/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ use winit::{
use crate::window::{self, Window};

/// Display the provided mesh in a window that processes input
pub fn display(mesh: Model, invert_zoom: bool) -> Result<(), Error> {
pub fn display(model: Model, invert_zoom: bool) -> Result<(), Error> {
let event_loop = EventLoop::new();
let window = Window::new(&event_loop)?;
let mut viewer = block_on(Viewer::new(&window))?;

viewer.handle_model_update(mesh);
viewer.handle_model_update(model);

let mut held_mouse_button = None;
let mut new_size = None;
Expand Down

0 comments on commit 8b5709e

Please sign in to comment.