Function computeBoundsMeters

  • Computes axis-aligned bounds in meters from a GLB buffer. Uses accessor min/max when available; falls back to BIN position data otherwise.

    Parameters

    • glb: Uint8Array

    Returns GlbBounds

    Error when required meshes/accessors/BIN data are missing or invalid.