浏览代码

Update webgpu_cubemap_adjustments.html (#26022)

sunag 2 年之前
父节点
当前提交
0a754b112f
共有 1 个文件被更改,包括 0 次插入8 次删除
  1. 0 8
      examples/webgpu_cubemap_adjustments.html

+ 0 - 8
examples/webgpu_cubemap_adjustments.html

@@ -134,14 +134,6 @@
 
 					scene.add( gltf.scene );
 
-
-					setTimeout( () => {
-
-						gltf.scene.children[0].material.dispose();
-						gltf.scene.children[0].geometry.dispose();
-
-					}, 2000 )
-
 				} );
 
 				const sphereGeometry = new THREE.SphereGeometry( .5, 64, 32 );