Browse Source

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

Fix protoplanet example
Mr.doob 7 years ago
parent
commit
71e68fd345
1 changed files with 1 additions and 1 deletions
  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;