libmaple/gfx/
window.rs

1// Written by Leonardo Mariscal <leo@cav.bz>, 2018
2
3/// Information related to glfw and window.
4pub struct Window {
5    pub width: i32,
6    pub height: i32,
7}
8
9impl Window {
10    /// Creates new window creating an opengl context and loading opengl functions.
11    pub fn new(width: i32, height: i32) -> Window {
12        Window {
13            width: width,
14            height: height,
15        }
16    }
17}