thin_engine/
meshes.rs

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