Skip to content

Commit 4bcaefe

Browse files
committed
use SimpleMesh for tighter types
1 parent 0c326b5 commit 4bcaefe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/marching_cubes.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ Tetrahedra guarentees a manifold mesh.
288288
"""
289289
function marching_cubes{ST,FT,M<:AbstractMesh}(sdf::SignedDistanceField{3,ST,FT},
290290
iso=0.0,
291-
MT::Type{M}=HomogenousMesh)
291+
MT::Type{M}=SimpleMesh{Point{3,Float64},Face{3,Int,0}})
292292
nx, ny, nz = size(sdf)
293293
h = HyperRectangle(sdf)
294294
w = widths(h)

0 commit comments

Comments
 (0)