mirror of
https://github.com/bevyengine/bevy
synced 2024-11-21 20:23:28 +00:00
Cleanup legacy code from bevy_sprite (#15304)
# Objective - Remove legacy stuff
This commit is contained in:
parent
fcfa60844a
commit
28597e4082
2 changed files with 0 additions and 2 deletions
|
@ -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,
|
||||
|
|
|
@ -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>,
|
||||
|
|
Loading…
Reference in a new issue