1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 13:50:04 -04:00

Remove everything marked deprecated

This commit is contained in:
Emil Ernerfeldt
2021-08-28 11:46:30 +02:00
parent 0db74f3000
commit 1fbce6b2c3
24 changed files with 1 additions and 456 deletions

View File

@@ -33,11 +33,6 @@ impl Rot2 {
/// The identity rotation: nothing rotates
pub const IDENTITY: Self = Self { s: 0.0, c: 1.0 };
#[deprecated = "Use Rot2::IDENTITY"]
pub fn identity() -> Self {
Self::IDENTITY
}
/// A 𝞃/4 = 90° rotation means rotating the X axis to the Y axis.
pub fn from_angle(angle: f32) -> Self {
let (s, c) = angle.sin_cos();