![]() # Objective - Every usage of `DrawFunctionsInternals::get_id()` was followed by a `.unwrap()`. which just adds boilerplate. ## Solution - Introduce a fallible version of `DrawFunctionsInternals::get_id()` and use it where possible. - I also took the opportunity to improve the error message a little in the case where it fails. --- ## Changelog - Added `DrawFunctionsInternals::id()` |
||
---|---|---|
.. | ||
mesh2d | ||
render | ||
bundle.rs | ||
collide_aabb.rs | ||
dynamic_texture_atlas_builder.rs | ||
lib.rs | ||
sprite.rs | ||
texture_atlas_builder.rs | ||
texture_atlas.rs |