@pmndrs/bvh
    Preparing search index...

    Function weldWithinTolerance

    • Merges vertices closer than tolerance on every axis into the first such vertex seen (a grid of cells tolerance wide; each vertex looks in its cell and the 26 around it). It moves geometry away from what the app draws by up to tolerance per axis, so it is opt-in: it closes seams whose copies differ by an ulp or so, which no exact weld or format can.

      Parameters

      • positions: Float32Array
      • tolerance: number

      Returns WeldResult