1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-28 07:23:13 -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:
Emil Ernerfeldt
2021-02-14 10:44:46 +01:00
parent c376d0bb7e
commit 6d255cd179
18 changed files with 28 additions and 27 deletions

View File

@@ -1,7 +1,7 @@
#![allow(deprecated)] // legacy implement_vertex macro
use {
egui::{math::clamp, paint::Mesh, Color32, Rect},
egui::{emath::clamp, paint::Mesh, Color32, Rect},
glium::{
implement_vertex,
index::PrimitiveType,