MCPcopy Create free account
hub / github.com/crownengine/crown / SceneGraph

Method SceneGraph

src/world/scene_graph.cpp:41–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41SceneGraph::SceneGraph(Allocator &a, UnitManager &um)
42 : _marker(SCENE_GRAPH_MARKER)
43 , _allocator(&a)
44 , _unit_manager(&um)
45 , _map(a)
46{
47 _unit_destroy_callback.destroy = unit_destroyed_callback_bridge;
48 _unit_destroy_callback.user_data = this;
49 _unit_destroy_callback.node.next = NULL;
50 _unit_destroy_callback.node.prev = NULL;
51 um.register_destroy_callback(&_unit_destroy_callback);
52}
53
54SceneGraph::~SceneGraph()
55{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected