Checkpoint
This commit is contained in:
parent
bfa211fb02
commit
3698e89b88
10 changed files with 151 additions and 102 deletions
|
@ -192,12 +192,12 @@ pub trait PlatformAtlas<Key>: Send + Sync {
|
|||
pub struct AtlasTile {
|
||||
pub(crate) texture_id: AtlasTextureId,
|
||||
pub(crate) tile_id: TileId,
|
||||
pub(crate) bounds_in_atlas: Bounds<DevicePixels>,
|
||||
pub(crate) bounds: Bounds<DevicePixels>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||
#[repr(C)]
|
||||
pub(crate) struct AtlasTextureId(pub(crate) usize);
|
||||
pub(crate) struct AtlasTextureId(pub(crate) u32);
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord)]
|
||||
#[repr(C)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue