| 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 | { |
no outgoing calls
no test coverage detected