Remove egui::math & egui::paint, replace with egui::emath & egui::epaint
This commit is contained in:
parent
0ab93576da
commit
83e490fb6a
2 changed files with 4 additions and 6 deletions
|
@ -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 `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`.
|
* 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 🙏
|
### Contributors 🙏
|
||||||
* [mankinskin](https://github.com/mankinskin) ([#543](https://github.com/emilk/egui/pull/543))
|
* [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))
|
* [sumibi-yakitori](https://github.com/sumibi-yakitori) ([#830](https://github.com/emilk/egui/pull/830))
|
||||||
|
|
|
@ -382,12 +382,6 @@ pub mod widgets;
|
||||||
pub use epaint;
|
pub use epaint;
|
||||||
pub use epaint::emath;
|
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 emath::{lerp, pos2, remap, remap_clamp, vec2, Align, Align2, NumExt, Pos2, Rect, Vec2};
|
||||||
pub use epaint::{
|
pub use epaint::{
|
||||||
color, mutex,
|
color, mutex,
|
||||||
|
|
Loading…
Reference in a new issue