浏览代码

Merge pull request #13296 from cx20/fix-protoplanet-little-bug

Fix protoplanet example
Mr.doob 7 年之前
父节点
当前提交
71e68fd345
共有 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 );
 
 			// 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 camera, scene, renderer, geometry, controls;