浏览代码

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;
 
 	};