Browse Source

Update webgpu_cubemap_adjustments.html (#26022)

sunag 2 years ago
parent
commit
0a754b112f
1 changed files with 0 additions and 8 deletions
  1. 0 8
      examples/webgpu_cubemap_adjustments.html

+ 0 - 8
examples/webgpu_cubemap_adjustments.html

@@ -134,14 +134,6 @@
 
 
 					scene.add( gltf.scene );
 					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 );
 				const sphereGeometry = new THREE.SphereGeometry( .5, 64, 32 );