AABBCullingStrategy.ixx File
Culling strategy based on AABB. More...
Included Headers
#include <cmath>
#include <helios.engine.scene.types.CullingContext>
#include <helios.ecs.types.EntityHandle>
#include <helios.math>
Namespaces Index
| namespace | helios |
| namespace | engine |
| namespace | scene |
Classes Index
| class | AABBCullingStrategy<TMemberHandle> |
|
NAABB culling strategy implementation. More... | |
Description
Culling strategy based on AABB.
File Listing
The file content with the documentation metadata removed is:
18using namespace helios::engine::scene::types;
19export namespace helios::engine::scene {
29 class AABBCullingStrategy {
35 using MemberHandle_type = TMemberHandle;
51 bool shouldRender(const CullingContext<TMemberHandle>& ctx) noexcept {
54 auto& bounds = ctx.bounds;
56 const auto c = bounds.center();
57 const auto h = bounds.extent();
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.