From 75cb088d3168afad2a660c3fac93a0291a5cd2c7 Mon Sep 17 00:00:00 2001 From: scurest Date: Wed, 24 Jul 2024 20:15:13 -0500 Subject: [PATCH] Fix some warnings --- src/nds/mod.rs | 2 +- src/skeleton/mod.rs | 2 +- src/viewer/main_loop.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/nds/mod.rs b/src/nds/mod.rs index 5f38aeb..6c4141f 100644 --- a/src/nds/mod.rs +++ b/src/nds/mod.rs @@ -5,6 +5,6 @@ pub mod texture_formats; pub mod texture_params; pub mod decode_texture; -pub use self::texture_formats::{TextureFormat, FormatDesc, Alpha}; +pub use self::texture_formats::{TextureFormat, Alpha}; pub use self::texture_params::TextureParams; pub use self::decode_texture::decode_texture; diff --git a/src/skeleton/mod.rs b/src/skeleton/mod.rs index 470ddfa..e5707ce 100644 --- a/src/skeleton/mod.rs +++ b/src/skeleton/mod.rs @@ -53,7 +53,7 @@ pub mod symbolic_matrix; mod vertex_record; mod joint_tree; -pub use self::symbolic_matrix::{SMatrix, CMatrix, AMatrix, ATerm}; +pub use self::symbolic_matrix::{SMatrix, AMatrix}; use cgmath::Matrix4; use nitro::Model; diff --git a/src/viewer/main_loop.rs b/src/viewer/main_loop.rs index 67d11c6..d4a36e8 100644 --- a/src/viewer/main_loop.rs +++ b/src/viewer/main_loop.rs @@ -26,7 +26,7 @@ pub fn main_loop(db: Database, conn: Connection) { win_title: String, cur_time: u64, last_time: u64, - }; + } let mut state = State { last_mouse_xy: PhysicalPosition { x: 0.0, y: 0.0 },