mirror of
https://github.com/hannobraun/Fornjot
synced 2025-03-03 03:25:50 +00:00
Update doc comment
This commit is contained in:
parent
9f94e316d6
commit
88ff9f6c6e
@ -18,7 +18,7 @@ use winit::{
|
|||||||
|
|
||||||
use crate::window::{self, Window};
|
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> {
|
pub fn display(mesh: Mesh<Point<3>>, invert_zoom: bool) -> Result<(), Error> {
|
||||||
let event_loop = EventLoop::new();
|
let event_loop = EventLoop::new();
|
||||||
let window = Window::new(&event_loop)?;
|
let window = Window::new(&event_loop)?;
|
||||||
|
Loading…
Reference in New Issue
Block a user