Function computeViewFrustumPlanes

Compute the view frustum planes from the given projection and camera matrices.

  • Parameters

    • projectionMatrix: mat4

      The projection matrix.

    • cameraMatrix: mat4

      The camera matrix.

    Returns number[][]

    • The view frustum planes represented as a 2D array of numbers.