Parcourir la source

Updated builds.

Mr.doob il y a 1 an
Parent
commit
7ade35ed34
5 fichiers modifiés avec 100 ajouts et 27 suppressions
  1. 2 2
      build/three.cjs
  2. 2 2
      build/three.module.js
  3. 0 0
      build/three.module.min.js
  4. 96 23
      build/three.webgpu.js
  5. 0 0
      build/three.webgpu.min.js

+ 2 - 2
build/three.cjs

@@ -13677,6 +13677,8 @@ function WebGLAttributes( gl ) {
 
 
 	function update( attribute, bufferType ) {
 	function update( attribute, bufferType ) {
 
 
+		if ( attribute.isInterleavedBufferAttribute ) attribute = attribute.data;
+
 		if ( attribute.isGLBufferAttribute ) {
 		if ( attribute.isGLBufferAttribute ) {
 
 
 			const cached = buffers.get( attribute );
 			const cached = buffers.get( attribute );
@@ -13696,8 +13698,6 @@ function WebGLAttributes( gl ) {
 
 
 		}
 		}
 
 
-		if ( attribute.isInterleavedBufferAttribute ) attribute = attribute.data;
-
 		const data = buffers.get( attribute );
 		const data = buffers.get( attribute );
 
 
 		if ( data === undefined ) {
 		if ( data === undefined ) {

+ 2 - 2
build/three.module.js

@@ -13675,6 +13675,8 @@ function WebGLAttributes( gl ) {
 
 
 	function update( attribute, bufferType ) {
 	function update( attribute, bufferType ) {
 
 
+		if ( attribute.isInterleavedBufferAttribute ) attribute = attribute.data;
+
 		if ( attribute.isGLBufferAttribute ) {
 		if ( attribute.isGLBufferAttribute ) {
 
 
 			const cached = buffers.get( attribute );
 			const cached = buffers.get( attribute );
@@ -13694,8 +13696,6 @@ function WebGLAttributes( gl ) {
 
 
 		}
 		}
 
 
-		if ( attribute.isInterleavedBufferAttribute ) attribute = attribute.data;
-
 		const data = buffers.get( attribute );
 		const data = buffers.get( attribute );
 
 
 		if ( data === undefined ) {
 		if ( data === undefined ) {

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
build/three.module.min.js


Fichier diff supprimé car celui-ci est trop grand
+ 96 - 23
build/three.webgpu.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
build/three.webgpu.min.js


Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff

粤ICP备19079148号