|
@@ -412,7 +412,7 @@ THREE.MarchingCubes = function ( resolution, material, enableUvs, enableColors )
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
- };
|
|
|
|
|
|
+ }
|
|
|
|
|
|
this.begin = function () {
|
|
this.begin = function () {
|
|
|
|
|
|
@@ -493,8 +493,8 @@ THREE.MarchingCubes = function ( resolution, material, enableUvs, enableColors )
|
|
|
|
|
|
for ( z = min_z; z < max_z; z ++ ) {
|
|
for ( z = min_z; z < max_z; z ++ ) {
|
|
|
|
|
|
- z_offset = this.size2 * z,
|
|
|
|
- fz = z / this.size - ballz,
|
|
|
|
|
|
+ z_offset = this.size2 * z;
|
|
|
|
+ fz = z / this.size - ballz;
|
|
fz2 = fz * fz;
|
|
fz2 = fz * fz;
|
|
|
|
|
|
for ( y = min_y; y < max_y; y ++ ) {
|
|
for ( y = min_y; y < max_y; y ++ ) {
|