Explorar o código

Rename parameter

Garrett Johnson %!s(int64=6) %!d(string=hai) anos
pai
achega
8933cc7064
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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;
 
 	};