From e0d73f30c41477362cb8c0bcb28f8467c8dda433 Mon Sep 17 00:00:00 2001 From: devil-ira Date: Fri, 30 Sep 2022 16:09:11 +0200 Subject: [PATCH] Remove apply_non_uniform_scale --- crates/bevy_transform/src/components/transform.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/crates/bevy_transform/src/components/transform.rs b/crates/bevy_transform/src/components/transform.rs index a4330bab01f96..88a0c775f4b83 100644 --- a/crates/bevy_transform/src/components/transform.rs +++ b/crates/bevy_transform/src/components/transform.rs @@ -346,13 +346,6 @@ impl Transform { value += self.translation; value } - - /// Changes the `scale` of this [`Transform`], multiplying the current `scale` by - /// `scale_factor`. - #[inline] - pub fn apply_non_uniform_scale(&mut self, scale_factor: Vec3) { - self.scale *= scale_factor; - } } impl Default for Transform {