Przeglądaj źródła

Updated builds.

Mugen87 1 rok temu
rodzic
commit
7a47f0e691
3 zmienionych plików z 10 dodań i 6 usunięć
  1. 5 3
      build/three.cjs
  2. 5 3
      build/three.module.js
  3. 0 0
      build/three.module.min.js

+ 5 - 3
build/three.cjs

@@ -13567,7 +13567,7 @@ function WebGLAttributes( gl, capabilities ) {
 	function updateBuffer( buffer, attribute, bufferType ) {
 	function updateBuffer( buffer, attribute, bufferType ) {
 
 
 		const array = attribute.array;
 		const array = attribute.array;
-		const updateRange = attribute._updateRange; // deprecated
+		const updateRange = attribute._updateRange; // @deprecated, r159
 		const updateRanges = attribute.updateRanges;
 		const updateRanges = attribute.updateRanges;
 
 
 		gl.bindBuffer( bufferType, buffer );
 		gl.bindBuffer( bufferType, buffer );
@@ -13602,7 +13602,7 @@ function WebGLAttributes( gl, capabilities ) {
 
 
 		}
 		}
 
 
-		// deprecated
+		// @deprecated, r159
 		if ( updateRange.count !== - 1 ) {
 		if ( updateRange.count !== - 1 ) {
 
 
 			if ( isWebGL2 ) {
 			if ( isWebGL2 ) {
@@ -16068,7 +16068,7 @@ function WebGLCubeMaps( renderer ) {
 
 
 					if ( image && image.height > 0 ) {
 					if ( image && image.height > 0 ) {
 
 
-						const renderTarget = new WebGLCubeRenderTarget( image.height / 2 );
+						const renderTarget = new WebGLCubeRenderTarget( image.height );
 						renderTarget.fromEquirectangularTexture( renderer, texture );
 						renderTarget.fromEquirectangularTexture( renderer, texture );
 						cubemaps.set( texture, renderTarget );
 						cubemaps.set( texture, renderTarget );
 
 
@@ -20292,6 +20292,8 @@ function WebGLProgram( renderer, cacheKey, parameters, bindingStates ) {
 					console.error(
 					console.error(
 						'THREE.WebGLProgram: Shader Error ' + gl.getError() + ' - ' +
 						'THREE.WebGLProgram: Shader Error ' + gl.getError() + ' - ' +
 						'VALIDATE_STATUS ' + gl.getProgramParameter( program, gl.VALIDATE_STATUS ) + '\n\n' +
 						'VALIDATE_STATUS ' + gl.getProgramParameter( program, gl.VALIDATE_STATUS ) + '\n\n' +
+						'Material Name: ' + self.name + '\n' +
+						'Material Type: ' + self.type + '\n\n' +
 						'Program Info Log: ' + programLog + '\n' +
 						'Program Info Log: ' + programLog + '\n' +
 						vertexErrors + '\n' +
 						vertexErrors + '\n' +
 						fragmentErrors
 						fragmentErrors

+ 5 - 3
build/three.module.js

@@ -13565,7 +13565,7 @@ function WebGLAttributes( gl, capabilities ) {
 	function updateBuffer( buffer, attribute, bufferType ) {
 	function updateBuffer( buffer, attribute, bufferType ) {
 
 
 		const array = attribute.array;
 		const array = attribute.array;
-		const updateRange = attribute._updateRange; // deprecated
+		const updateRange = attribute._updateRange; // @deprecated, r159
 		const updateRanges = attribute.updateRanges;
 		const updateRanges = attribute.updateRanges;
 
 
 		gl.bindBuffer( bufferType, buffer );
 		gl.bindBuffer( bufferType, buffer );
@@ -13600,7 +13600,7 @@ function WebGLAttributes( gl, capabilities ) {
 
 
 		}
 		}
 
 
-		// deprecated
+		// @deprecated, r159
 		if ( updateRange.count !== - 1 ) {
 		if ( updateRange.count !== - 1 ) {
 
 
 			if ( isWebGL2 ) {
 			if ( isWebGL2 ) {
@@ -16066,7 +16066,7 @@ function WebGLCubeMaps( renderer ) {
 
 
 					if ( image && image.height > 0 ) {
 					if ( image && image.height > 0 ) {
 
 
-						const renderTarget = new WebGLCubeRenderTarget( image.height / 2 );
+						const renderTarget = new WebGLCubeRenderTarget( image.height );
 						renderTarget.fromEquirectangularTexture( renderer, texture );
 						renderTarget.fromEquirectangularTexture( renderer, texture );
 						cubemaps.set( texture, renderTarget );
 						cubemaps.set( texture, renderTarget );
 
 
@@ -20290,6 +20290,8 @@ function WebGLProgram( renderer, cacheKey, parameters, bindingStates ) {
 					console.error(
 					console.error(
 						'THREE.WebGLProgram: Shader Error ' + gl.getError() + ' - ' +
 						'THREE.WebGLProgram: Shader Error ' + gl.getError() + ' - ' +
 						'VALIDATE_STATUS ' + gl.getProgramParameter( program, gl.VALIDATE_STATUS ) + '\n\n' +
 						'VALIDATE_STATUS ' + gl.getProgramParameter( program, gl.VALIDATE_STATUS ) + '\n\n' +
+						'Material Name: ' + self.name + '\n' +
+						'Material Type: ' + self.type + '\n\n' +
 						'Program Info Log: ' + programLog + '\n' +
 						'Program Info Log: ' + programLog + '\n' +
 						vertexErrors + '\n' +
 						vertexErrors + '\n' +
 						fragmentErrors
 						fragmentErrors

Plik diff jest za duży
+ 0 - 0
build/three.module.min.js


Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików