17 lines
380 B
Rust
17 lines
380 B
Rust
mod egui_app;
|
|
|
|
mod function;
|
|
mod misc;
|
|
|
|
// For running the program natively! (Because why not?)
|
|
#[cfg(not(target_arch = "wasm32"))]
|
|
fn main() {
|
|
let app = egui_app::MathApp::default();
|
|
let options = eframe::NativeOptions {
|
|
transparent: true,
|
|
drag_and_drop_support: true,
|
|
..Default::default()
|
|
};
|
|
eframe::run_native(Box::new(app), options);
|
|
}
|