Skip to content

cf_frustum_test_aabb3

Category: math
GitHub: cute_math3d.h


Returns false only when the AABB is fully outside the frustum -- the culling test.

bool cf_frustum_test_aabb3(const CF_Frustum* f, CF_Aabb3 bb)

Remarks

Conservative: a box outside the frustum but not fully behind any single plane can still return true (the standard, cheap p-vertex test). Never culls a visible box.

CF_Frustum
cf_frustum_from_m4
cf_frustum_test_sphere
cf_transform_aabb3