Move egui/math into new crate emath

This commit is contained in:
Emil Ernerfeldt
2021-01-10 11:37:47 +01:00
parent aee1474b6e
commit a0b0f36d29
38 changed files with 187 additions and 97 deletions
+2 -2
View File
@@ -144,8 +144,8 @@ impl FractalClock {
];
let hand_rotors = [
hands[0].length * Rot2::from_angle(hand_rotations[0]),
hands[1].length * Rot2::from_angle(hand_rotations[1]),
hands[0].length * math::Rot2::from_angle(hand_rotations[0]),
hands[1].length * math::Rot2::from_angle(hand_rotations[1]),
];
#[derive(Clone, Copy)]