![]() # Objective - Fix panic when atlas index is out of bounds - Took the chance to clean it up a bit ## Solution - Use texture dimensions like rendering pipeline. Dropped atlas layouts and indexes out of bounds are shown as a sprite. ## Testing Used sprite_picking example, drop layout and/or use indexes out of bounds. |
||
---|---|---|
.. | ||
mesh2d | ||
render | ||
texture_slice | ||
bundle.rs | ||
dynamic_texture_atlas_builder.rs | ||
lib.rs | ||
picking_backend.rs | ||
sprite.rs | ||
texture_atlas_builder.rs | ||
texture_atlas.rs |