miye 0.1.2

A simple, lightweight .obj model renderer.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub mod camera;

#[derive(Debug)]
pub struct Instance {
    pub model: crate::models::Model,
}

impl Instance {
    pub fn new(file_path: &str, state: &crate::state::State, position: glam::Vec3) -> Self {
        Self {
            model: crate::models::load_model(file_path, state, position),
        }
    }
}