瀏覽代碼

Fix protoplanet example
https://github.com/mrdoob/three.js/issues/13293

cx20 7 年之前
父節點
當前提交
0fe617aa4f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/webgl_gpgpu_protoplanet.html

+ 1 - 1
examples/webgl_gpgpu_protoplanet.html

@@ -277,7 +277,7 @@
 			if ( hash ) hash = parseInt( hash, 0 );
 			if ( hash ) hash = parseInt( hash, 0 );
 
 
 			// Texture width for simulation (each texel is a debris particle)
 			// Texture width for simulation (each texel is a debris particle)
-			var WIDTH = hash || ( isIE || isEdge ) ? 4 : 64;
+			var WIDTH = hash || ( ( isIE || isEdge ) ? 4 : 64 );
 
 
 			var container, stats;
 			var container, stats;
 			var camera, scene, renderer, geometry, controls;
 			var camera, scene, renderer, geometry, controls;