mirror of
https://github.com/MadeOfJelly/MushMachine.git
synced 2025-06-18 18:56:36 +02:00
update entt to v3.15.0
This commit is contained in:
@ -111,7 +111,7 @@ namespace MM::Services {
|
||||
if (ImGui::Begin("Scene Metrics##ImGuiSceneToolsService", &_show_scene_metrics)) {
|
||||
ImGui::Text("capacity: %zu", scene.storage<::MM::Entity>().capacity());
|
||||
ImGui::Text("size: %zu", scene.storage<::MM::Entity>().size());
|
||||
ImGui::Text("alive: %zu", scene.storage<::MM::Entity>().in_use());
|
||||
ImGui::Text("alive: %zu", scene.storage<::MM::Entity>().free_list());
|
||||
if (ImGui::CollapsingHeader("orphans")) {
|
||||
// iterating all entities is expensive
|
||||
size_t orphans = 0;
|
||||
|
@ -23,7 +23,7 @@ static std::ostream& operator<<(std::ostream& out, const std::vector<entt::organ
|
||||
}
|
||||
|
||||
for (size_t i = 0; i < nodes.size(); i++) {
|
||||
for (const size_t child : nodes[i].children()) {
|
||||
for (const size_t child : nodes[i].in_edges()) {
|
||||
out << "n" << child << " -> " << "n" << i << ";\n";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user