Просмотр исходного кода

Three.Legacy: Remove deprecated code. (#30004)

Michael Herzog 1 год назад
Родитель
Сommit
f91ace9e85
1 измененных файлов с 0 добавлено и 21 удалено
  1. 0 21
      src/Three.Legacy.js

+ 0 - 21
src/Three.Legacy.js

@@ -1,21 +0,0 @@
-import { WebGLRenderTarget } from './renderers/WebGLRenderTarget.js';
-
-export class WebGLMultipleRenderTargets extends WebGLRenderTarget { // @deprecated, r162
-
-	constructor( width = 1, height = 1, count = 1, options = {} ) {
-
-		console.warn( 'THREE.WebGLMultipleRenderTargets has been deprecated and will be removed in r172. Use THREE.WebGLRenderTarget and set the "count" parameter to enable MRT.' );
-
-		super( width, height, { ...options, count } );
-
-		this.isWebGLMultipleRenderTargets = true;
-
-	}
-
-	get texture() {
-
-		return this.textures;
-
-	}
-
-}

粤ICP备19079148号