improved file structure and started to add particles
This commit is contained in:
2017
src/utility/share.rs
2017
src/utility/share.rs
File diff suppressed because it is too large
Load Diff
@ -133,23 +133,3 @@ impl VertexV3 {
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
pub const RECT_VERTICES_DATA: [VertexV1; 4] = [
|
||||
VertexV1 {
|
||||
pos: [-0.5, -0.5],
|
||||
color: [1.0, 0.0, 0.0],
|
||||
},
|
||||
VertexV1 {
|
||||
pos: [0.5, -0.5],
|
||||
color: [0.0, 1.0, 0.0],
|
||||
},
|
||||
VertexV1 {
|
||||
pos: [0.5, 0.5],
|
||||
color: [0.0, 0.0, 1.0],
|
||||
},
|
||||
VertexV1 {
|
||||
pos: [-0.5, 0.5],
|
||||
color: [1.0, 1.0, 1.0],
|
||||
},
|
||||
];
|
||||
pub const RECT_INDICES_DATA: [u32; 6] = [0, 1, 2, 2, 3, 0];
|
||||
|
Reference in New Issue
Block a user