Checkpoint

This commit is contained in:
Nathan Sobo 2023-10-03 11:16:42 -06:00
parent bfa211fb02
commit 3698e89b88
10 changed files with 151 additions and 102 deletions

View file

@ -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)]