Parcourir la source

Examples: Cleanup `webgpu_sandbox`

sunag il y a 1 an
Parent
commit
015480e141
1 fichiers modifiés avec 1 ajouts et 14 suppressions
  1. 1 14
      examples/webgpu_sandbox.html

+ 1 - 14
examples/webgpu_sandbox.html

@@ -29,20 +29,6 @@
 
 			import { KTX2Loader } from 'three/addons/loaders/KTX2Loader.js';
 
-			let code = '';
-
-			const tsl = { ... THREE.TSL };
-			const keys = Object.keys( tsl ).sort();
-
-			for ( const key of keys ) {
-
-				code += `export const ${ key } = TSL.${ key };\n`;
-
-			}
-
-			console.log( code );
-			//console.log( `export { ${ keys.join( ',\n\t' ) } };` );
-
 			let camera, scene, renderer;
 
 			let box;
@@ -89,6 +75,7 @@
 				const materialBox = new THREE.MeshBasicNodeMaterial();
 
 				// birection speed
+
 				const timerScaleNode = time.mul( vec2( - 0.5, 0.1 ) );
 				const animateUV = uv().add( timerScaleNode );
 

粤ICP备19079148号