first commit
This commit is contained in:
commit
3a92f526a0
11 changed files with 2222 additions and 0 deletions
8
moonhare_engine/src/vertex.rs
Normal file
8
moonhare_engine/src/vertex.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
use glium::implement_vertex;
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
pub(crate) 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