Extracts the six planes of a view frustum from a projection and view matrix, using the WebGPU / Vulkan / D3D / Metal clip-space depth convention (NDC z in [0, 1]).
Pair this with mat4.perspectiveZO, mat4.frustumZO or mat4.orthoZO.
mat4.perspectiveZO
mat4.frustumZO
mat4.orthoZO
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 WebGPU / Vulkan / D3D / Metal clip-space depth convention (NDC z in [0, 1]).
Pair this with
mat4.perspectiveZO,mat4.frustumZOormat4.orthoZO.