소스 검색

Water: Fix typo

Mugen87 7 년 전
부모
커밋
0e0de61b9d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      examples/js/objects/Water2.js

+ 1 - 1
examples/js/objects/Water2.js

@@ -147,7 +147,7 @@ THREE.Water = function ( width, height, options ) {
 		config.value.x += flowSpeed * delta; // flowMapOffset0
 		config.value.y = config.value.x + halfCycle; // flowMapOffset1
 
-		// Important: The distance between offsets shold be always the value of "halfCycle".
+		// Important: The distance between offsets should be always the value of "halfCycle".
 		// Moreover, both offsets should be in the range of [ 0, cycle ].
 		// This approach ensures a smooth water flow and avoids "reset" effects.