[][src]Module transvoxel_data::regular_cell_data

Structs

RegularCellData

Holds information about the triangulation used for a single equivalence class in the modified Marching Cubes algorithm.

Constants

REGULAR_CELL_CLASS

Maps an 8-bit regular Marching Cubes case index to an equivalence class index.

REGULAR_CELL_DATA

Holds the triangulation data for all 16 distinct classes to which a case can be mapped by the REGULAR_CELL_CLASS table.

REGULAR_VERTEX_DATA

Gives the vertex locations for every one of the 256 possible cases in the modified Marching Cubes algorithm. Each 16-bit value also provides information about whether a vertex can be reused from a neighboring cell. The low byte contains the indices for the two endpoints of the edge on which the vertex lies. The high byte contains the vertex reuse data.