Skip to main content

mix

Function mix 

Source
pub fn mix(places: [bool; 4]) -> u8
Expand description

The number of a mix of four places, the first the highest bit: for a corners layer the tiles at the top-left, top-right, bottom-left and bottom-right of a corner point; for a tile’s sides its neighbours up, right, down and left.