miye 0.1.2

A simple, lightweight .obj model renderer.
Documentation
1
2
3
4
5
6
7
8
9
10
11
fn main() {
    miye::run(update);
}

fn update(state: &mut miye::state::State) {
    if state.instances.is_empty() {
        // The textures must be in the same folder as the model
        state.add_instance("./models/cube.obj", miye::glam::Vec3::new(0.0, 0.0, 0.0));
        state.add_instance("./models/cube.obj", miye::glam::Vec3::new(3.0, 0.0, 0.0));
    }
}