mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-08 03:48:27 +00:00
Add Viewer
This commit is contained in:
parent
a673201c4b
commit
538e65368f
@ -18,6 +18,9 @@ use crate::{
|
||||
window::Window,
|
||||
};
|
||||
|
||||
/// # Fornjot model viewer
|
||||
pub struct Viewer {}
|
||||
|
||||
/// # Display the provided mesh in a window that processes input
|
||||
pub fn display(tri_mesh: TriMesh, invert_zoom: bool) -> Result<(), Error> {
|
||||
let event_loop = EventLoop::new()?;
|
||||
|
@ -16,6 +16,6 @@ mod input;
|
||||
mod window;
|
||||
|
||||
pub use self::{
|
||||
display::{Error, display},
|
||||
display::{Error, Viewer, display},
|
||||
graphics::RendererInitError,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user