This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Typedefs | |
typedef float(* | GltFunc3d )(float x, float y, float z) |
Marching Cubes Function Type. | |
Functions | |
int | GltMarchingCubes (GltFunc3d func, float minx, float miny, float minz, float maxx, float maxy, float maxz, int xsteps, int ysteps, int zsteps) |
Marching Cubes Algorithm. |
Definition in file mcubes.h.
|
Marching Cubes Algorithm. A simple implementation of the marching cubes algorithm for tesselating a 3d function. The function is tesselated into triangle faces and drawn using OpenGL. You are free to use all or part of this code in your own programs as long as proper credit is given.
Definition at line 66 of file mcubes.cpp. References GltFunc3d. |