[oden] Remove leftover demo garbage
This commit is contained in:
parent
b2b730f79c
commit
1b8f8d41e5
1 changed files with 0 additions and 25 deletions
25
src/lib.rs
25
src/lib.rs
|
|
@ -38,31 +38,6 @@ impl Vertex {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const VERTICES: &[Vertex] = &[
|
|
||||||
Vertex {
|
|
||||||
position: [-0.0868241, 0.49240386, 0.0],
|
|
||||||
tex_coords: [0.4131759, 0.00759614],
|
|
||||||
}, // A
|
|
||||||
Vertex {
|
|
||||||
position: [-0.49513406, 0.06958647, 0.0],
|
|
||||||
tex_coords: [0.0048659444, 0.43041354],
|
|
||||||
}, // B
|
|
||||||
Vertex {
|
|
||||||
position: [-0.21918549, -0.44939706, 0.0],
|
|
||||||
tex_coords: [0.28081453, 0.949397],
|
|
||||||
}, // C
|
|
||||||
Vertex {
|
|
||||||
position: [0.35966998, -0.3473291, 0.0],
|
|
||||||
tex_coords: [0.85967, 0.84732914],
|
|
||||||
}, // D
|
|
||||||
Vertex {
|
|
||||||
position: [0.44147372, 0.2347359, 0.0],
|
|
||||||
tex_coords: [0.9414737, 0.2652641],
|
|
||||||
}, // E
|
|
||||||
];
|
|
||||||
|
|
||||||
const INDICES: &[u16] = &[0, 1, 4, 1, 2, 4, 2, 3, 4];
|
|
||||||
|
|
||||||
struct State {
|
struct State {
|
||||||
surface: wgpu::Surface,
|
surface: wgpu::Surface,
|
||||||
device: wgpu::Device,
|
device: wgpu::Device,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue