Farther
This commit is contained in:
parent
3d150208e0
commit
1d9ff55163
|
|
@ -26,16 +26,16 @@ fn main() {
|
|||
let indices = glium::index::NoIndices(glium::index::PrimitiveType::LineLoop);
|
||||
let shape = vec![
|
||||
Vertex {
|
||||
position: [-1., 0., 2.],
|
||||
position: [-1., 0., 4.],
|
||||
},
|
||||
Vertex {
|
||||
position: [0., -1., 2.],
|
||||
position: [0., -1., 4.],
|
||||
},
|
||||
Vertex {
|
||||
position: [1., 0., 2.],
|
||||
position: [1., 0., 4.],
|
||||
},
|
||||
Vertex {
|
||||
position: [0., 1., 2.],
|
||||
position: [0., 1., 4.],
|
||||
},
|
||||
];
|
||||
let vertex_buffer = VertexBuffer::new(&display, &shape).unwrap();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user