Skip to content

Commit

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

- Since #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 Aug 29, 2023
1 parent 4f212a5 commit 1399078
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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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 1399078

Please sign in to comment.