GLM provides a way to declare a projection matrix:
projectionMatrix = glm :: perspective (45.0f, 4.0f / 3.0f, 0.1f, 1000.f);
From this, I want to be able to check if the frames in my truncation are limited. How to get the planes of a truncated cone or whatever it is, would I need to calculate this from the projection matrix? Is this even the right way to do this?
source
share