|
@@ -138,6 +138,14 @@ THREE.TubeGeometry = function ( path, segments, radius, radialSegments, closed,
|
|
|
|
|
|
THREE.TubeGeometry.prototype = Object.create( THREE.Geometry.prototype );
|
|
|
THREE.TubeGeometry.prototype.constructor = THREE.TubeGeometry;
|
|
|
+THREE.TubeGeometry.prototype.clone = function() {
|
|
|
+
|
|
|
+ return new this.constructor( this.parameters.path,
|
|
|
+ this.parameters.segments, this.parameters.radius, this.parameters.radialSegments,
|
|
|
+ this.parameters.closed, this.parameters.taper
|
|
|
+ );
|
|
|
+
|
|
|
+};
|
|
|
|
|
|
THREE.TubeGeometry.NoTaper = function ( u ) {
|
|
|
|