Hello all, I'm a n00b to this family of libraries so forgive me if this is asked and answered somewhere.
In a project, I need to be able to check if a given axis-aligned bounding box is visible. To this end, I have two questions:
- How do I construct a view frustrum? I can provide a projection matrix or the relevant parameters of a perspective.
- How do I get the relation between a frustrum and an AABB? By "relation", I mean one of "Inside", "Crossing", or "Outside".
To do this today, I'm using the
collision crate because it had an obvious API. However, I'm soon going to need some of the features provided by the
n* crates, so I'd like to switch over to that.
Thanks in advance,