mirror of
https://codeberg.org/icewind/vbsp.git
synced 2026-06-03 10:44:07 +02:00
face normals
This commit is contained in:
parent
cdf52722f8
commit
7702ca17a6
3 changed files with 31 additions and 0 deletions
|
|
@ -425,6 +425,16 @@ impl VisData {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, BinRead)]
|
||||
pub struct VertNormal {
|
||||
pub normal: f32,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, BinRead)]
|
||||
pub struct VertNormalIndex {
|
||||
pub index: i16,
|
||||
}
|
||||
|
||||
pub struct Packfile {
|
||||
zip: Mutex<ZipArchive<Cursor<Vec<u8>>>>,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue