소스 검색

Rename parameter

Garrett Johnson 6 년 전
부모
커밋
8933cc7064
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      examples/js/MarchingCubes.js

+ 2 - 2
examples/js/MarchingCubes.js

@@ -772,10 +772,10 @@ THREE.MarchingCubes = function ( resolution, material, enableUvs, enableColors )
 	// Updates
 	/////////////////////////////////////
 
-	this.setCell = function ( x, y, z, strength ) {
+	this.setCell = function ( x, y, z, value ) {
 
 		var index = this.size2 * z + this.size * y + x;
-		this.field[ index ] = strength;
+		this.field[ index ] = value;
 
 	};