Browse Source

TorusKnotBufferGeometry: Removed heightScale

Mugen87 9 years ago
parent
commit
585ab615c5
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/extras/geometries/TorusKnotBufferGeometry.js

+ 1 - 3
src/extras/geometries/TorusKnotBufferGeometry.js

@@ -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;