Function rlifesrc_lib::rules::ntlife::transform_neigh
source · fn transform_neigh(data: u8, transform: Transform) -> u8Expand description
Transform the neighborhood of a cell.
The neighborhood is represented by a u8:
7 6 5
4 x 3
2 1 0