Modularize + Refactoring code
This commit is contained in:
parent
813280350f
commit
00ab67b212
23 changed files with 2001 additions and 87 deletions
6
engine_core/src/render/vulkan/vertex.rs
Normal file
6
engine_core/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