Cleanup legacy code from bevy_sprite (#15304)

# Objective

- Remove legacy stuff
This commit is contained in:
s-puig 2024-09-19 18:06:09 +02:00 committed by GitHub
parent fcfa60844a
commit 28597e4082
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 2 deletions

View file

@ -10,7 +10,6 @@ use crate::TextureSlicer;
/// This is commonly used as a component within [`SpriteBundle`](crate::bundle::SpriteBundle).
#[derive(Component, Debug, Default, Clone, Reflect)]
#[reflect(Component, Default, Debug)]
#[repr(C)]
pub struct Sprite {
/// The sprite's color tint
pub color: Color,

View file

@ -21,7 +21,6 @@ use bevy_utils::HashMap;
#[derive(Asset, Reflect, Debug, Clone)]
#[reflect(Debug)]
pub struct TextureAtlasLayout {
// TODO: add support to Uniforms derive to write dimensions and sprites to the same buffer
pub size: UVec2,
/// The specific areas of the atlas where each texture can be found
pub textures: Vec<URect>,