remove unnecessary line WTF

This commit is contained in:
Almar Klein
2016-04-20 02:27:29 +02:00
parent 9f843fa619
commit f4c4822f8c
-3
View File
@@ -130,9 +130,6 @@ def marching_cubes(volume, level, spacing=(1., 1., 1.),
verts = np.asarray(verts)
faces = np.asarray(faces)
# Calculate gradient of `volume`, then interpolate to vertices in `verts`
grad_x, grad_y, grad_z = np.gradient(volume)
# Fancy indexing to define two vector arrays from triangle vertices
faces = _correct_mesh_orientation(volume, verts[faces], faces, spacing,
gradient_direction)