1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-22 12:47:45 +00:00

Take into account the submesh bone map when calculating runtime again

This was an accidental commit while testing.
This commit is contained in:
Joshua Goins 2024-04-14 13:36:27 -04:00
parent 90bd2d334d
commit 281fb68fca

View file

@ -1025,7 +1025,7 @@ impl ModelData {
+ self.header.shape_mesh_count as u32 * 12
+ self.header.shape_value_count as u32 * 4
+ 4 // SubmeshBoneMapSize
//+ self.submesh_bone_map.len() as u32 * 2
+ self.submesh_bone_map.len() as u32 * 2
+ self.padding_amount as u32 + 1 // PaddingAmount and Padding
+ (4 * 32) // 4 BoundingBoxes
+ (self.header.bone_count as u32 * 32)