6 std::vector<EmptyEntity*> emptyEntities;
7 std::vector<NodeEntity*> nodes;
8 std::vector<LinkEntity*> links;
10 glm::vec3 boundingBox_origin = glm::vec3(0);
11 glm::vec3 boundingBox_size = glm::vec3(0);
12 glm::vec3 boundingBox_center = glm::vec3(0);
14 Cell* parent =
nullptr;
15 std::vector<Cell*> children;
18 std::vector<T*>& getEntityList() {
19 if constexpr (std::is_same_v<T, NodeEntity>) {
22 else if constexpr (std::is_same_v<T, EmptyEntity>) {
25 else if constexpr (std::is_same_v<T, LinkEntity>) {
29 static_assert(
sizeof(T) == 0,
"Unsupported entity type.");