MCPcopy Create free account
hub / github.com/pmneila/PyMCubes / func

Function func

test_mcubes.py:22–23  ·  view source on GitHub ↗
(x, y, z)

Source from the content-addressed store, hash-verified

20 u = (x - 50)**2 + (y - 50)**2 + (z - 50)**2 - 25**2
21
22 def func(x, y, z):
23 return (x - 50)**2 + (y - 50)**2 + (z - 50)**2 - 25**2
24
25 vertices1, triangles1 = mcubes.marching_cubes(u, 0.0)
26 vertices2, triangles2 = mcubes.marching_cubes_func(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected