Update doc comment

This commit is contained in:
Hanno Braun 2023-06-06 11:34:15 +02:00
parent 9f94e316d6
commit 88ff9f6c6e

View File

@ -18,7 +18,7 @@ use winit::{
use crate::window::{self, Window};
/// Initializes a model viewer for a given model and enters its process loop.
/// Display the provided mesh in a window that processes input
pub fn display(mesh: Mesh<Point<3>>, invert_zoom: bool) -> Result<(), Error> {
let event_loop = EventLoop::new();
let window = Window::new(&event_loop)?;