21 #include "../generic/managed.h"
22 #include "../generic/manual_object.h"
23 #include "../interfaces.h"
24 #include "../meshes/mesh.h"
27 #include "stage_node.h"
36 GEOM_CULLER_TYPE_OCTREE,
37 GEOM_CULLER_TYPE_QUADTREE
41 GeomCullerType type = GEOM_CULLER_TYPE_OCTREE;
42 uint8_t octree_max_depth = 4;
43 uint8_t quadtree_max_depth = 4;
77 const AABB& aabb()
const override;
79 void clean_up()
override {
80 StageNode::clean_up();
88 UniqueIDKey make_key()
const override {
89 return make_unique_id_key(
id());
94 Vec3 desired_transform;
98 std::shared_ptr<GeomCuller> culler_;
103 Property<decltype(&Geom::culler_)> culler = {
this, &Geom::culler_};