Ver código fonte

Fixed glsl warning.

Mr.doob 10 anos atrás
pai
commit
5f897e4d67
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      examples/webgl_gpgpu_birds.html

+ 1 - 1
examples/webgl_gpgpu_birds.html

@@ -138,7 +138,7 @@
 			// const float VISION = PI * 0.55;
 
 			float zoneRadius = 40.0;
-			float zoneRadiusSquared = zoneRadius * zoneRadius;
+			float zoneRadiusSquared = 1600.0;
 
 			float separationThresh = 0.45;
 			float alignmentThresh = 0.65;