1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -04:00

Add emath::OrderedFloat (moved from epaint::util::OrderedFloat) (#4389)

It makes much more sense in `emath`
This commit is contained in:
Emil Ernerfeldt
2024-04-21 20:36:32 +02:00
committed by GitHub
parent 46b241eb94
commit 87b294534e
14 changed files with 57 additions and 90 deletions

View File

@@ -3,7 +3,7 @@
use std::ops::RangeInclusive;
use epaint::{emath::Rot2, util::FloatOrd, Mesh};
use epaint::{emath::Rot2, Mesh};
use crate::*;

View File

@@ -17,7 +17,8 @@ use std::{cmp::Ordering, ops::RangeInclusive, sync::Arc};
use egui::ahash::HashMap;
use egui::*;
use epaint::{util::FloatOrd, Hsva};
use emath::Float as _;
use epaint::Hsva;
pub use crate::{
axis::{Axis, AxisHints, HPlacement, Placement, VPlacement},