Remove unnecessary use from examples (#5583)

# Objective

`bevy::render::texture::ImageSettings` was added to prelude in #5566, so these `use` statements are unnecessary and the examples can be made a bit more concise.

## Solution

Remove `use bevy::render::texture::ImageSettings`
This commit is contained in:
Peter Hebden 2022-08-06 01:19:57 +00:00
parent 115211161b
commit c27cc59e0d
3 changed files with 3 additions and 6 deletions

View file

@ -1,7 +1,7 @@
//! Renders an animated sprite by loading all animation frames from a single image (a sprite sheet)
//! into a texture atlas, and changing the displayed image periodically.
use bevy::{prelude::*, render::texture::ImageSettings};
use bevy::prelude::*;
fn main() {
App::new()

View file

@ -1,7 +1,7 @@
//! In this example we generate a new texture atlas (sprite sheet) from a folder containing
//! individual sprites.
use bevy::{asset::LoadState, prelude::*, render::texture::ImageSettings};
use bevy::{asset::LoadState, prelude::*};
fn main() {
App::new()

View file

@ -3,10 +3,7 @@
use bevy::{
prelude::*,
render::{
render_resource::{Extent3d, TextureDimension, TextureFormat},
texture::ImageSettings,
},
render::render_resource::{Extent3d, TextureDimension, TextureFormat},
};
fn main() {