Browse Source

Updated builds.

Mr.doob 1 year ago
parent
commit
7ade35ed34
5 changed files with 100 additions and 27 deletions
  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 ) {
 
+		if ( attribute.isInterleavedBufferAttribute ) attribute = attribute.data;
+
 		if ( attribute.isGLBufferAttribute ) {
 
 			const cached = buffers.get( attribute );
@@ -13696,8 +13698,6 @@ function WebGLAttributes( gl ) {
 
 		}
 
-		if ( attribute.isInterleavedBufferAttribute ) attribute = attribute.data;
-
 		const data = buffers.get( attribute );
 
 		if ( data === undefined ) {

+ 2 - 2
build/three.module.js

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

File diff suppressed because it is too large
+ 0 - 0
build/three.module.min.js


File diff suppressed because it is too large
+ 96 - 23
build/three.webgpu.js


File diff suppressed because it is too large
+ 0 - 0
build/three.webgpu.min.js


Some files were not shown because too many files changed in this diff

粤ICP备19079148号