|
@@ -196,10 +196,10 @@
|
|
|
posOnlyBufGeometry.addAttribute( 'position', bufGeometry.getAttribute( 'position' ) );
|
|
|
posOnlyBufGeometry.setIndex( bufGeometry.getIndex() );
|
|
|
|
|
|
- // Merge the vertices so the triangle soup is converted to indexed triangles
|
|
|
+ // Merge the vertices so the triangle soup is converted to indexed triangles
|
|
|
var indexedBufferGeom = THREE.BufferGeometryUtils.mergeVertices( posOnlyBufGeometry );
|
|
|
|
|
|
- // Create index arrays mapping the indexed vertices to bufGeometry vertices
|
|
|
+ // Create index arrays mapping the indexed vertices to bufGeometry vertices
|
|
|
mapIndices( bufGeometry, indexedBufferGeom );
|
|
|
|
|
|
}
|