1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 06:10:06 -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

@@ -151,8 +151,8 @@ impl FractalClock {
];
let hand_rotors = [
hands[0].length * math::Rot2::from_angle(hand_rotations[0]),
hands[1].length * math::Rot2::from_angle(hand_rotations[1]),
hands[0].length * emath::Rot2::from_angle(hand_rotations[0]),
hands[1].length * emath::Rot2::from_angle(hand_rotations[1]),
];
#[derive(Clone, Copy)]