Variable casesClassic

Variable Documentation

static const char casesClassic[256][16]

original Marching Cubes implementation For each of the possible vertex states listed in this table there is a specific triangulation of the edge intersection points. The table lists all of them in the form of 0-5 edge triples with the list terminated by the invalid value -1. For example: casesClassic[3] list the 2 triangles formed when cube[0] and cube[1] are inside of the surface, but the rest of the cube is not.