From 1399078f127ba1cb304f115447d463241cdba6b9 Mon Sep 17 00:00:00 2001 From: "Ame :]" <104745335+ameknite@users.noreply.github.com> Date: Tue, 29 Aug 2023 12:59:10 -0600 Subject: [PATCH] remove VecSwizzles imports (#9629) # Objective - Since #9387, there is no need to import VecSwizzles separately, it is already included in the prelude. ## Solution - Remove the imports. --- examples/2d/rotation.rs | 2 +- examples/transforms/scale.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/2d/rotation.rs b/examples/2d/rotation.rs index 3447543b75..8f5e7fa6d6 100644 --- a/examples/2d/rotation.rs +++ b/examples/2d/rotation.rs @@ -1,6 +1,6 @@ //! Demonstrates rotating entities in 2D using quaternions. -use bevy::{math::Vec3Swizzles, prelude::*}; +use bevy::prelude::*; const TIME_STEP: f32 = 1.0 / 60.0; const BOUNDS: Vec2 = Vec2::new(1200.0, 640.0); diff --git a/examples/transforms/scale.rs b/examples/transforms/scale.rs index 537a5c7137..bbae8b71b9 100644 --- a/examples/transforms/scale.rs +++ b/examples/transforms/scale.rs @@ -2,7 +2,6 @@ use std::f32::consts::PI; -use bevy::math::Vec3Swizzles; use bevy::prelude::*; // Define a component to keep information for the scaled object.