summaryrefslogtreecommitdiff
path: root/src/sim/materials.rs
blob: 13a45f38ea77203d84360ae37685fa32478edb2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#[derive(Clone, Copy)]
pub struct Material<'a> {
    pub name: &'a str,
    pub r: u8,
    pub g: u8,
    pub b: u8,
}

pub static MATERIALS: [Material; 2] = [
    Material {
        name: "Void",
        r: 0x00,
        g: 0x00,
        b: 0x00,
    },
    Material {
        name: "Sand",
        r: 0xFF,
        g: 0x00,
        b: 0xFF,
    },
];