math docs
    Preparing search index...

    Function setFromViewProjectionMatrixSides

    • Extracts only the four lateral planes (left, right, bottom, top) of a view frustum from a projection and view matrix, skipping near and far. This is convention-independent — the NO/ZO split only affects the near plane — so it pairs with any projection matrix.

      Intended for streaming pipelines that already cull distant content and only need to reject objects outside the camera's sides. Test against the result with frustum.sidesIntersectsSphere, frustum.sidesIntersectsBox3, frustum.sidesContainsPoint or frustum.sidesIntersectsRay.

      Parameters

      Returns frustum.Frustum

      The output frustum