stuff oder so
This commit is contained in:
parent
78b5348b92
commit
0eeb4b2563
8 changed files with 286 additions and 18 deletions
8
crates/moonhare_graphics/src/vertices/vertex.rs
Normal file
8
crates/moonhare_graphics/src/vertices/vertex.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
use glium::implement_vertex;
|
||||
|
||||
#[derive(Clone, Copy)]
|
||||
pub struct Vertex {
|
||||
pub(crate) position: [f32; 2],
|
||||
pub(crate) color: [f32; 3],
|
||||
}
|
||||
implement_vertex!(Vertex, position, color);
|
||||
Loading…
Add table
Add a link
Reference in a new issue