mirror of
https://github.com/hannobraun/Fornjot
synced 2025-10-26 01:38:06 +00:00
Update model name
This commit is contained in:
parent
437a1f17be
commit
8b5709e523
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user