Constant K_IJTO_POS

Source
pub const K_IJTO_POS: [[usize; 4]; 4];
Expand description

kIJtoPos[orientation][ij] -> pos

Given a cell orientation and the (i,j)-index of a subcell (0=(0,0), 1=(0,1), 2=(1,0), 3=(1,1)), return the order in which this subcell is visited by the Hilbert curve (a position in the range [0..3]).