소스 검색

remove deprecated code

aardgoose 6 년 전
부모
커밋
ff5e821504
1개의 변경된 파일0개의 추가작업 그리고 25개의 파일을 삭제
  1. 0 25
      src/renderers/webgl/WebGLProgram.js

+ 0 - 25
src/renderers/webgl/WebGLProgram.js

@@ -738,31 +738,6 @@ function WebGLProgram( renderer, extensions, code, material, shader, parameters,
 
 	};
 
-	// DEPRECATED
-
-	Object.defineProperties( this, {
-
-		uniforms: {
-			get: function () {
-
-				console.warn( 'THREE.WebGLProgram: .uniforms is now .getUniforms().' );
-				return this.getUniforms();
-
-			}
-		},
-
-		attributes: {
-			get: function () {
-
-				console.warn( 'THREE.WebGLProgram: .attributes is now .getAttributes().' );
-				return this.getAttributes();
-
-			}
-		}
-
-	} );
-
-
 	//
 
 	this.name = shader.name;