Skip to content

Commit

Permalink
Merge pull request #164 from ipsavitsky/main
Browse files Browse the repository at this point in the history
replace deprecated method
  • Loading branch information
shunsukesaito authored Mar 26, 2023
2 parents a9fa3b3 + fb1b851 commit e47c4d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mesh_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def eval_func(points):

# Finally we do marching cubes
try:
verts, faces, normals, values = measure.marching_cubes_lewiner(sdf, thresh)
verts, faces, normals, values = measure.marching_cubes(sdf, thresh)
# transform verts into world coordinate system
trans_mat = np.matmul(calib_inv, mat)
verts = np.matmul(trans_mat[:3, :3], verts.T) + trans_mat[:3, 3:4]
Expand Down

0 comments on commit e47c4d9

Please sign in to comment.