lettuces 0.0.7

A grid logic crate combining Hexx and custom logic for square and isometric grids to provide a unified grid logic crate.
Documentation
1
2
3
4
5
6
7
use super::Cell;

pub const fn add_cell_arrays(lhs: [Cell; 4], rhs: [Cell; 4]) -> [Cell; 8] {
    [
        lhs[0], lhs[1], lhs[2], lhs[3], rhs[0], rhs[1], rhs[2], rhs[3],
    ]
}