Browse Source

Examples: Fixed ESLint error. (#26870)

林炳权 1 year ago
parent
commit
a5318cfd53
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/webgpu_compute_texture_pingpong.html

+ 1 - 1
examples/webgpu_compute_texture_pingpong.html

@@ -35,7 +35,7 @@
 			let pingTexture, pongTexture;
 			let material;
 			let phase = true;
-			let seed = uniform( new THREE.Vector2() );
+			const seed = uniform( new THREE.Vector2() );
 
 			init();
 			render();