Skip to content

Add .contains_aabb for Frustum #15663

@torsteingrindvik

Description

@torsteingrindvik

What problem does this solve or what need does it fill?

Solves making logic decisions based on whether an object is contained in a frustum.

My specific usecase: N cameras exist, M<N should be active. Figure out which M based on visiblity of some AABB.

What solution would you like?

Adding .contains_aabb to Frustum.

What alternative(s) have you considered?

There is .intersects_obb, but that is only intersects and not contains.

Additional context

Discord context feat @Jondolf , @mweatherley : https://discord.com/channels/691052431525675048/1203087353850364004/1292080527125254185

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-MathFundamental domain-agnostic mathematical operationsC-FeatureA new feature, making something new possibleS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions