wasm-spatial-core
    Preparing search index...

    Function generateIndexedGeometry

    • Generate indexed geometry from positions.

      Returns { positions: Float32Array, indices: Uint32Array }. For point clouds this is trivial (indices = [0, 1, 2, ...]) but the layout is standard for mesh geometry consumers.

      Parameters

      • positions: Float32Array

      Returns object