thin-engine 0.6.1

A thin engine between glium, winit, glium-types and winit-input-map with some extra helper functions
Documentation
1
2
3
4
5
6
7
8
9
use thin_engine::prelude::*;
fn main() {
    let event_loop = EventLoop::new().unwrap();
    thin_engine::builder(input_map!()).with_update(|_, display, _, _, _| {
        let mut frame = display.draw();
        frame.clear_color(0.1, 0.7, 0.4, 1.0);
        frame.finish().unwrap();
    }).build(event_loop).unwrap();
}