From b3ccf43097ccac8d55c3054332933bf574e7fb95 Mon Sep 17 00:00:00 2001 From: NukeBird Date: Sat, 22 Feb 2025 19:57:23 +0300 Subject: [PATCH] zecsy_bits -> archetype_signature --- zecsy.hpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/zecsy.hpp b/zecsy.hpp index 726f1ff..6765741 100644 --- a/zecsy.hpp +++ b/zecsy.hpp @@ -86,9 +86,10 @@ namespace zecsy private: using comp_id = size_t; - using zecsy_bits = std::bitset; + using entity_group = std::set; + using archetype_signature = std::bitset; - std::unordered_map entity_to_comps; + std::unordered_map entity_to_comps; entity_id entity_counter = 0; size_t query_archetypes_checked = 0; @@ -102,10 +103,6 @@ namespace zecsy }; std::unordered_map pools; - - using archetype_signature = zecsy_bits; - using entity_group = std::set; - std::unordered_map archetypes; template