| 52 | } |
| 53 | |
| 54 | void Culler::ComputeVisibleSet(std::shared_ptr<Camera> const& camera, |
| 55 | std::shared_ptr<Spatial> const& scene) |
| 56 | { |
| 57 | LogAssert(scene != nullptr, "A scene is required for culling."); |
| 58 | PushViewFrustumPlanes(camera); |
| 59 | mVisibleSet.clear(); |
| 60 | scene->OnGetVisibleSet(*this, camera, false); |
| 61 | } |
| 62 | |
| 63 | bool Culler::IsVisible(BoundingSphere<float> const& sphere) |
| 64 | { |
no test coverage detected