1
0
Fork 0
mirror of https://codeberg.org/icewind/vbsp.git synced 2026-06-03 10:44:07 +02:00

face normals

This commit is contained in:
Robin Appelman 2023-12-21 16:25:13 +01:00
commit 7702ca17a6
3 changed files with 31 additions and 0 deletions

View file

@ -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>>>>,
}