Selaa lähdekoodia

Update webgpu_cubemap_adjustments.html (#26022)

sunag 2 vuotta sitten
vanhempi
commit
0a754b112f
1 muutettua tiedostoa jossa 0 lisäystä ja 8 poistoa
  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 );