Function summarizeGlbGeometry

  • Summarizes mesh and node counts from a GLB buffer. Triangles are counted from indices when present; otherwise from POSITION accessor counts. Only TRIANGLES mode (4) contributes to triangle counts.

    Parameters

    • glb: Uint8Array

    Returns GlbGeometryStats