Vertex Loading
Added the ability to load vertex data from the WAD. Still needs some processing to make more robust, but for now is loading data.
This commit is contained in:
3
src/types/mod.rs
Normal file
3
src/types/mod.rs
Normal file
@@ -0,0 +1,3 @@
|
||||
mod vertex;
|
||||
|
||||
pub use vertex::Vertex;
|
||||
5
src/types/vertex.rs
Normal file
5
src/types/vertex.rs
Normal file
@@ -0,0 +1,5 @@
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
pub struct Vertex {
|
||||
pub x: i16,
|
||||
pub y: i16,
|
||||
}
|
||||
Reference in New Issue
Block a user