Updated splashpack structure

This commit is contained in:
2025-04-03 17:51:36 +02:00
parent cc1b2c84ef
commit 651cbcdf55
4 changed files with 8 additions and 7 deletions

View File

@@ -10,13 +10,14 @@ namespace psxsplash {
class GameObject final {
public:
psyqo::Vec3 position;
psyqo::Matrix33 rotation;
union {
Tri *polygons;
uint32_t polygonsOffset;
};
int polyCount;
psyqo::Vec3 position;
psyqo::Matrix33 rotation;
uint16_t polyCount;
uint16_t reserved;
};
static_assert(sizeof(GameObject) == 56, "GameObject is not 56 bytes");
} // namespace psxsplash