mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04: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