diff --git a/src/lib.rs b/src/lib.rs index 560ad51..7b5a363 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -12,7 +12,7 @@ mod widgets; pub use crate::{ function_entry::{FunctionEntry, Riemann}, - math_app::AppSettings, + math_app::{AppSettings, MathApp}, misc::{EguiHelper, newtons_method, option_vec_printer, step_helper}, unicode_helper::{to_chars_array, to_unicode_hash}, }; diff --git a/src/main.rs b/src/main.rs index 83b2abd..5ae1a96 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,14 +1,3 @@ -#[macro_use] -extern crate static_assertions; - -mod consts; -mod function_entry; -mod function_manager; -mod math_app; -mod misc; -mod unicode_helper; -mod widgets; - // For running the program natively! (Because why not?) #[cfg(not(target_arch = "wasm32"))] fn main() -> eframe::Result<()> { @@ -21,6 +10,6 @@ fn main() -> eframe::Result<()> { eframe::run_native( "(Yet-to-be-named) Graphing Software", eframe::NativeOptions::default(), - Box::new(|cc| Ok(Box::new(math_app::MathApp::new(cc)))), + Box::new(|cc| Ok(Box::new(ytbn_graphing_software::MathApp::new(cc)))), ) }