mirror of
https://github.com/emilk/egui.git
synced 2026-07-15 02:58:53 +00:00
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:
@@ -5,7 +5,7 @@ use {
|
||||
};
|
||||
|
||||
use egui::{
|
||||
math::clamp,
|
||||
emath::clamp,
|
||||
paint::{Color32, Texture},
|
||||
vec2,
|
||||
};
|
||||
|
||||
@@ -7,7 +7,7 @@ use {
|
||||
};
|
||||
|
||||
use egui::{
|
||||
math::clamp,
|
||||
emath::clamp,
|
||||
paint::{Color32, Texture},
|
||||
vec2,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user