foresight_voxel_tables
foresight_voxel_tables, gnuplot 6.0's marching cubes tables (marching_cubes.h, qt_table.h).
GENERATED from gnuplot 6.0's src/marching_cubes.h and src/qt_table.h (the night of 2026-11-27): the edges a corner pattern cuts (bit n for edge n) and the facets of each of the 256 patterns, as triangles only (three edge numbers each, -1 after the last) and as gnuplot's default mixture of quadrangles and triangles (four edge numbers each, the fourth -1 for a triangle, -1 after the last). Columns of 13 per pattern (Fortran's order: pattern p is column p + 1).
Source: src/lib/foresight_voxel_tables.F90
Variables
| Name | Type | Attributes | Description |
|---|---|---|---|
VERTEX_OFFSET | integer(kind=I4P) | parameter | Cube corners from [i,j,k]. |
CUBE_EDGE_FLAGS | integer(kind=I4P) | parameter | Edges cut by each corner pattern. |
TRIANGLE_TABLE | integer(kind=I4P) | parameter | Triangles of each pattern. |
QT_TABLE | integer(kind=I4P) | parameter | Quadrangles and triangles of each pattern. |