Extracts the six planes of a view frustum from a projection and view matrix, using the OpenGL / WebGL clip-space depth convention (NDC z in [-1, 1]).
Pair this with mat4.perspectiveNO, mat4.frustumNO or mat4.orthoNO.
mat4.perspectiveNO
mat4.frustumNO
mat4.orthoNO
The output frustum
The projection matrix
The view matrix
Extracts the six planes of a view frustum from a projection and view matrix, using the OpenGL / WebGL clip-space depth convention (NDC z in [-1, 1]).
Pair this with
mat4.perspectiveNO,mat4.frustumNOormat4.orthoNO.