tiled_wfc 0.4.0

A n-dimensional tiled wave function collapse library
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[derive(Debug, Default, Clone, Copy, PartialEq)]
pub struct AxisPair<T> {
    pub pos: T,
    pub neg: T,
}

impl<T> AxisPair<T> {
    pub const fn new(pos: T, neg: T) -> Self {
        Self { pos, neg }
    }
}