macroquad 0.2.9

Simple and easy to use graphics library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub use quad_gl::Color;

#[derive(Clone, Copy, Debug)]
pub struct Rect {
    pub x: f32,
    pub y: f32,
    pub w: f32,
    pub h: f32,
}

impl Rect {
    pub fn new(x: f32, y: f32, w: f32, h: f32) -> Rect {
        Rect { x, y, w, h }
    }
}