1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/// often used for screen effects like fxaa, fog and colour correction.
pub mod screen {
    use glium_types::prelude::*;
    pub const VERTICES: [Vertex; 4] = [
        Vertex::new( 1.0,  1.0, 0.0),
        Vertex::new( 1.0, -1.0, 0.0),
        Vertex::new(-1.0,  1.0, 0.0),
        Vertex::new(-1.0, -1.0, 0.0)
    ];
    pub const UVS: [TextureCoords; 4] = [
        TextureCoords::new(1.0 , 1.0),
        TextureCoords::new(1.0 , 0.0),
        TextureCoords::new(0.0 , 1.0),
        TextureCoords::new(0.0 , 0.0)
    ];
    pub const INDICES: [u32; 6] = [
        0, 2, 1,
        1, 2, 3
    ];
}
pub use glium_types::teapot;