1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 05:40:03 -04:00

implement mint conversions (#352)

* Implement mint conversions

Implement conversions for [mint](https://docs.rs/mint) (math interoperability standard types).

- `impl {From, Into}<mint::Point2> for Pos2`
- `impl {From, Into}<mint::Vector2> for Vec2`

* Forward `mint` feature: egui -> epaint -> emath
This commit is contained in:
Luis Wirth
2021-05-08 08:17:01 +02:00
committed by GitHub
parent 2cb94b98ef
commit 87bc26fb5a
6 changed files with 47 additions and 1 deletions

View File

@@ -43,3 +43,5 @@ single_threaded = ["atomic_refcell"]
# Only needed if you plan to use the same fonts from multiple threads.
multi_threaded = ["parking_lot"]
mint = ["emath/mint"]