Antkeeper  0.0.1
Namespaces | Functions
marching-cubes.cpp File Reference
#include <engine/geom/marching-cubes.hpp>
#include <cmath>

Go to the source code of this file.

Namespaces

 geom
 Geometric algorithms.
 
 geom::mc
 Marching cubes (MC) algorithm functions and constants.
 

Functions

void geom::mc::polygonize (float *vertices, std::uint8_t *vertex_count, std::int8_t *triangles, std::uint8_t *triangle_count, const float *corners, const float *distances)
 Uses the marching cubes algorithm to polygonize a single cell. More...