diff --git a/CHANGELOG.md b/CHANGELOG.md index bd9cfd90..83fd7aa6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,10 @@ NOTE: [`epaint`](epaint/CHANGELOG.md), [`eframe`](eframe/CHANGELOG.md), [`egui_w * Replace `Ui::__test` with `egui::__run_test_ui` ([#872](https://github.com/emilk/egui/pull/872)). * Replace `scroll_delta` and `zoom_delta` in `RawInput` with `Event::Scroll` and `Event::Zoom`. +### Removed 🔥 +* Removed `egui::math` (use `egui::emath` instead). +* Removed `egui::paint` (use `egui::epaint` instead). + ### Contributors 🙏 * [mankinskin](https://github.com/mankinskin) ([#543](https://github.com/emilk/egui/pull/543)) * [sumibi-yakitori](https://github.com/sumibi-yakitori) ([#830](https://github.com/emilk/egui/pull/830)) diff --git a/egui/src/lib.rs b/egui/src/lib.rs index 6e3bd01c..c19a782b 100644 --- a/egui/src/lib.rs +++ b/egui/src/lib.rs @@ -382,12 +382,6 @@ pub mod widgets; pub use epaint; pub use epaint::emath; -// Can't add deprecation notice due to https://github.com/rust-lang/rust/issues/30827 -pub use epaint as paint; // historical reasons - -// Can't add deprecation notice due to https://github.com/rust-lang/rust/issues/30827 -pub use emath as math; // historical reasons - pub use emath::{lerp, pos2, remap, remap_clamp, vec2, Align, Align2, NumExt, Pos2, Rect, Vec2}; pub use epaint::{ color, mutex,