Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Function computeMaxCholeskyRowNorm

    • Compute max Cholesky row norm across all splats (for bounding box expansion). The row norms determine the maximum spatial extent of any splat, used to expand the bounding box so frustum culling doesn't clip visible splats at screen edges.

      Cholesky layout: 6-stride [L00, L10, L11, L20, L21, L22] per splat. Row norms: ||row0|| = |L00|, ||row1|| = sqrt(L10² + L11²), ||row2|| = sqrt(L20² + L21² + L22²).

      Fallback scan for payloads without precomputed projection bounds — shared with the pool adapter (gpu-buffer-pool/gsplats-adapter.ts).

      count is the WRITTEN (capacity-clamped) splat count — never the requested splat count, whose tail past the texture bound was not uploaded and must not influence the cull box.

      Parameters

      • choleskyFactors: Float32Array
      • count: number

      Returns number