Refactoring + Begin add windows system and rendering
This commit is contained in:
parent
2a5bd593cb
commit
813280350f
7 changed files with 1505 additions and 66 deletions
6
src/render/vulkan/vertex.rs
Normal file
6
src/render/vulkan/vertex.rs
Normal file
|
@ -0,0 +1,6 @@
|
|||
#[derive(Default, Copy, Clone)]
|
||||
pub struct Vertex {
|
||||
pub position: [f32; 2],
|
||||
}
|
||||
|
||||
vulkano::impl_vertex!(Vertex, position);
|
Loading…
Add table
Add a link
Reference in a new issue