|
@@ -144,7 +144,7 @@ LineSegmentsGeometry.prototype = Object.assign( Object.create( InstancedBufferGe
|
|
|
|
|
|
},
|
|
|
|
|
|
- fromLineSegements: function ( lineSegments ) {
|
|
|
+ fromLineSegments: function ( lineSegments ) {
|
|
|
|
|
|
var geometry = lineSegments.geometry;
|
|
|
|
|
@@ -154,7 +154,7 @@ LineSegmentsGeometry.prototype = Object.assign( Object.create( InstancedBufferGe
|
|
|
|
|
|
} else if ( geometry.isBufferGeometry ) {
|
|
|
|
|
|
- this.setPositions( geometry.position.array ); // assumes non-indexed
|
|
|
+ this.setPositions( geometry.attributes.position.array ); // assumes non-indexed
|
|
|
|
|
|
}
|
|
|
|