1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-21 20:27:46 +00:00

Store the unknown padding

Don't know what it's used for yet still.
This commit is contained in:
Joshua Goins 2024-01-29 17:05:57 -05:00
parent f2475c99ce
commit afe809f33c

View file

@ -241,11 +241,13 @@ struct ModelData {
#[br(count = submesh_bone_map_size / 2, err_context("lods = {:#?}", lods))] #[br(count = submesh_bone_map_size / 2, err_context("lods = {:#?}", lods))]
submesh_bone_map: Vec<u16>, submesh_bone_map: Vec<u16>,
// TODO: what actually is this? #[br(dbg)]
padding_amount: u8, padding_amount: u8,
#[br(pad_before = padding_amount)] // TODO: what actually is this? it's all zero
#[bw(pad_before = *padding_amount)] #[br(count = padding_amount)]
unknown_padding: Vec<u8>,
bounding_box: BoundingBox, bounding_box: BoundingBox,
model_bounding_box: BoundingBox, model_bounding_box: BoundingBox,
water_bounding_box: BoundingBox, water_bounding_box: BoundingBox,