소스 검색

TorusKnotBufferGeometry: Removed heightScale

Mugen87 9 년 전
부모
커밋
585ab615c5
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  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;