[−][src]Function led_rs::render_helpers::tile_id_to_atlas_pixel
pub fn tile_id_to_atlas_pixel(
tile_id: usize,
atlas_width: usize,
grid_width: usize,
padding: usize,
spacing: usize
) -> Point
Converts from an atlast sprite ID to a pixel position in the atlas