소스 검색

Fixed glsl warning.

Mr.doob 10 년 전
부모
커밋
5f897e4d67
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;