Use explicit emath to math alias

egui exports `emath` under its original name AND under the alias `math`
(for historical reasons).
This commit is contained in:
Emil Ernerfeldt
2021-02-14 10:44:46 +01:00
parent c376d0bb7e
commit 6d255cd179
18 changed files with 28 additions and 27 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ use {
};
use egui::{
math::clamp,
emath::clamp,
paint::{Color32, Texture},
vec2,
};
+1 -1
View File
@@ -7,7 +7,7 @@ use {
};
use egui::{
math::clamp,
emath::clamp,
paint::{Color32, Texture},
vec2,
};