BlitHaven is a fast, high performance 2-Dimensional Game Engine
Examples
use *;
start_loop;
BlitHaven is a fast, high performance 2-Dimensional Game Engine
use blithaven::*;
blithaven::start_loop(app.event_loop, move | _events | {
app.scene.draw_polygon(vec![[0.0,0.0], [0.5,0.0], [0.5,0.5]], (1.0,0.0,0.0));
app.scene.save_frame((0.2,0.2,0.2)).finish().unwrap();
Action::Continue
});