Skip to content

Commit

Permalink
remove VecSwizzles imports (bevyengine#9629)
Browse files Browse the repository at this point in the history
# Objective

- Since bevyengine#9387, there is no need to import VecSwizzles separately, it is
already included in the prelude.

## Solution

- Remove the imports.
  • Loading branch information
ameknite authored and Ray Redondo committed Jan 9, 2024
1 parent ed64db7 commit 8af5cc7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion 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);
Expand Down
1 change: 0 additions & 1 deletion examples/transforms/scale.rs
Expand Up @@ -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.
Expand Down

0 comments on commit 8af5cc7

Please sign in to comment.