Something went wrong. Try again.
Homebrew 4D Game Engine In Rust, inspired by Engine4D
Something went wrong. Try again.
Add name index and lookup methods to World
- Add name_index HashMap to World for O(1) name lookups - Update add_entity() to populate name index for named entities - Update remove_entity() to clean up name index - Update clear() to also clear name index - Add get_by_name() for immutable entity lookup by name - Add get_by_name_mut() for mutable entity lookup by name - Add get_by_tag() iterator for finding entities with a specific tag - Add comprehensive tests for new lookup methods - Fix physics world restitution references to use material.restitution Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Author Willow Sparks Co-author Claude Opus 4.5 Date (Jan 27, 2026, 1:36 PM UTC) Commit
Copy SHA
Parent c6257121 c62571212126d1793852d610934602f62f852b75