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

Removed deprecated PureArrayUniform.updateCache method (#23911)

Renaud Rohlinger 3 лет назад
Родитель
Сommit
8e1d51b936
1 измененных файлов с 0 добавлено и 14 удалено
  1. 0 14
      src/renderers/webgl/WebGLUniforms.js

+ 0 - 14
src/renderers/webgl/WebGLUniforms.js

@@ -835,20 +835,6 @@ function PureArrayUniform( id, activeInfo, addr ) {
 
 
 }
 }
 
 
-PureArrayUniform.prototype.updateCache = function ( data ) {
-
-	const cache = this.cache;
-
-	if ( data instanceof Float32Array && cache.length !== data.length ) {
-
-		this.cache = new Float32Array( data.length );
-
-	}
-
-	copyArray( cache, data );
-
-};
-
 function StructuredUniform( id ) {
 function StructuredUniform( id ) {
 
 
 	this.id = id;
 	this.id = id;