Function Kataglyphis::extractFrustumPlanes

Function Kataglyphis::extractFrustumPlanes#

Function Documentation#

FrustumPlanes Kataglyphis::extractFrustumPlanes(const glm::mat4 &viewProjection)#

Extracts world-space frustum planes from a view-projection matrix (Gribb-Hartmann). Works for any projection the matrix encodes, including this engine’s reversed-Y and [0,1] depth conventions, because it reads the planes out of the matrix rather than assuming how they were built.