Browse Source

WebGLRenderer: Remove deprecated code. (#24867)

Michael Herzog 2 years ago
parent
commit
99b5e206b8
1 changed files with 0 additions and 22 deletions
  1. 0 22
      src/renderers/WebGLRenderer.js

+ 0 - 22
src/renderers/WebGLRenderer.js

@@ -134,28 +134,6 @@ function WebGLRenderer( parameters = {} ) {
 	this.toneMapping = NoToneMapping;
 	this.toneMapping = NoToneMapping;
 	this.toneMappingExposure = 1.0;
 	this.toneMappingExposure = 1.0;
 
 
-	//
-
-	Object.defineProperties( this, {
-
-		// @deprecated since r136, 0e21088102b4de7e0a0a33140620b7a3424b9e6d
-
-		gammaFactor: {
-			get: function () {
-
-				console.warn( 'THREE.WebGLRenderer: .gammaFactor has been removed.' );
-				return 2;
-
-			},
-			set: function () {
-
-				console.warn( 'THREE.WebGLRenderer: .gammaFactor has been removed.' );
-
-			}
-		}
-
-	} );
-
 	// internal properties
 	// internal properties
 
 
 	const _this = this;
 	const _this = this;