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

Function add

src/world/render_world.cpp:95–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 }
94
95 static void add(CullingSet &set, const Cullable &object)
96 {
97 Sphere sw;
98 sphere::transform(sw, object.sphere, object.world);
99
100 array::push_back(set.sphere_w, sw);
101 array::push_back(set.id, object.id);
102 array::push_back(set.type, object.type);
103 array::push_back(set.visible, UINT32_MAX);
104 }
105
106 static void remove(CullingSet &set, CullableType::Enum type, u32 object_id)
107 {

Callers 8

create_screen_guiMethod · 0.70
create_world_guiMethod · 0.70
load_levelMethod · 0.70
updateFunction · 0.70
sync_cullable_setsMethod · 0.70
create_instancesMethod · 0.70
playMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected