summaryrefslogtreecommitdiff
path: root/src/main.rs
blob: 6134893e45efe22a61dad2a67c02186c942b9b6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
mod quad;
mod ctx;
mod step;
mod render;

fn main() {
    println!("Warming up...");

    let mut ctx = ctx::Ctx::new((), ctx::Basic);

    let mut base = vec![];
    for i in 0..16 {
        base.push(i);
    }

    let quad: quad::Node<u8, u8> = quad::Node::new_from_square(
        &mut ctx, base,
    );

    // render::graphics();

    println!("{:#?}", quad);
}