BlitHaven is a fast, high performance 2-Dimensional Game Engine
Examples
use *;
BlitHaven is a fast, high performance 2-Dimensional Game Engine
use blithaven::*;
fn main() {
let mut app = App::init("test");
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,1.0));
app.scene.save_frame((0.2,0.2,0.2)).finish().unwrap();
Action::Continue
});
}