[IXModel] Correctly load coll surfs

This commit is contained in:
momo5502
2017-01-02 19:31:32 +01:00
parent 2c7b7f6d87
commit 45c49d4171
2 changed files with 20 additions and 9 deletions

View File

@ -1676,12 +1676,23 @@ namespace Game
float transWeight;
};
struct XModelCollTri_s
{
float plane[4];
float svec[4];
float tvec[4];
};
struct XModelCollSurf
{
void* tris; // +0, sizeof 48
int count; // +4
char pad[36]; // +8
}; // +44
XModelCollTri_s *collTris;
int numCollTris;
float mins[3];
float maxs[3];
int boneIdx;
int contents;
int surfFlags;
};
struct PhysPreset
{