|
@@ -219,14 +219,5 @@ function TubeBufferGeometry( path, tubularSegments, radius, radialSegments, clos
|
|
TubeBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
|
|
TubeBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
|
|
TubeBufferGeometry.prototype.constructor = TubeBufferGeometry;
|
|
TubeBufferGeometry.prototype.constructor = TubeBufferGeometry;
|
|
|
|
|
|
-TubeBufferGeometry.prototype.toJSON = function () {
|
|
|
|
-
|
|
|
|
- var data = BufferGeometry.prototype.toJSON.call( this );
|
|
|
|
-
|
|
|
|
- data.path = this.parameters.path.toJSON();
|
|
|
|
-
|
|
|
|
- return data;
|
|
|
|
-
|
|
|
|
-};
|
|
|
|
|
|
|
|
export { TubeGeometry, TubeBufferGeometry };
|
|
export { TubeGeometry, TubeBufferGeometry };
|