sge 1.1.0

Simple game engine
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use sge::prelude::*;

#[main("2D rotation")]
async fn main() -> anyhow::Result<()> {
    loop {
        draw_square_rotation(Vec2::splat(100.0), 100.0, Color::RED_500, time());

        if should_quit() {
            break;
        }

        next_frame().await;
    }

    Ok(())
}