|
@@ -3,7 +3,7 @@
|
|
*
|
|
*
|
|
* see: http://www.blackpawn.com/texts/pqtorus/
|
|
* see: http://www.blackpawn.com/texts/pqtorus/
|
|
*/
|
|
*/
|
|
-THREE.TorusKnotBufferGeometry = function ( radius, tube, tubularSegments, radialSegments, p, q, heightScale ) {
|
|
|
|
|
|
+THREE.TorusKnotBufferGeometry = function ( radius, tube, tubularSegments, radialSegments, p, q ) {
|
|
|
|
|
|
THREE.BufferGeometry.call( this );
|
|
THREE.BufferGeometry.call( this );
|
|
|
|
|
|
@@ -18,8 +18,6 @@ THREE.TorusKnotBufferGeometry = function ( radius, tube, tubularSegments, radial
|
|
q: q
|
|
q: q
|
|
};
|
|
};
|
|
|
|
|
|
- if( heightScale !== undefined ) console.warn( 'THREE.TorusKnotGeometry: heightScale has been deprecated. Use .scale( x, y, z ) instead.' );
|
|
|
|
-
|
|
|
|
radius = radius || 100;
|
|
radius = radius || 100;
|
|
tube = tube || 40;
|
|
tube = tube || 40;
|
|
tubularSegments = Math.floor( tubularSegments ) || 64;
|
|
tubularSegments = Math.floor( tubularSegments ) || 64;
|