truchet 0.1.1

Library for truchet tiling
Documentation
1
2
3
4
5

#[inline]
pub fn flatten_2d_index(row: usize, col: usize, cols_count: usize) -> usize {
    return row * cols_count + col;
}