Extract vertices from a BufferGeometry with position deduplication.
Vertices at the same position are merged into a single VertexData entry, with originalIndices tracking all buffer indices that share that position.
The Three.js BufferGeometry to extract from
Mappings containing unique vertices and index mapping
Extract vertices from a BufferGeometry with position deduplication.
Vertices at the same position are merged into a single VertexData entry, with originalIndices tracking all buffer indices that share that position.