Update name of function parameter

This commit is contained in:
Hanno Braun 2025-03-21 20:05:01 +01:00
parent f580ff9529
commit 54a2fc9aa0

View File

@ -21,11 +21,11 @@ use crate::{
};
/// Display the provided mesh in a window that processes input
pub fn display(mesh: TriMesh, invert_zoom: bool) -> Result<(), Error> {
pub fn display(tri_mesh: TriMesh, invert_zoom: bool) -> Result<(), Error> {
let event_loop = EventLoop::new()?;
let mut display_state = DisplayState {
mesh: Some(mesh),
mesh: Some(tri_mesh),
invert_zoom,
window: None,
viewer: None,