[][src]Constant transvoxel_data::transition_cell_data::TRANSITION_CELL_CLASS

pub const TRANSITION_CELL_CLASS: [u8; 512];

Maps a 9-bit transition cell case index to an equivalence class index.

Even though there are 73 equivalence classes in the Transvoxel algorithm, several of them use the same exact triangulations, just with different vertex locations. We combined those classes for this table so that the class index ranges from 0 to 55. The high bit is set in the cases for which the inverse state of the voxel data maps to the equivalence class, meaning that the winding order should be reversed.