-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Add .contains_aabb for Frustum #15663
Copy link
Copy link
Closed
Labels
A-MathFundamental domain-agnostic mathematical operationsFundamental domain-agnostic mathematical operationsC-FeatureA new feature, making something new possibleA new feature, making something new possibleS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!This issue is ready for an implementation PR. Go for it!
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-MathFundamental domain-agnostic mathematical operationsFundamental domain-agnostic mathematical operationsC-FeatureA new feature, making something new possibleA new feature, making something new possibleS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!This issue is ready for an implementation PR. Go for it!