mirror of
https://github.com/FreeTheTech101/t5exp.git
synced 2025-06-07 18:07:52 -05:00
Stream info is still fucked. Ignoring it for now.
This commit is contained in:
parent
453af57ae1
commit
26152d9b0b
@ -562,7 +562,13 @@ struct XModel
|
||||
float maxs[3];
|
||||
__int16 numLods;
|
||||
__int16 collLod;
|
||||
XModelStreamInfo streamInfo;
|
||||
|
||||
union
|
||||
{
|
||||
XModelStreamInfo streamInfo;
|
||||
float* himipInvSqRadii;
|
||||
};
|
||||
|
||||
int memUsage;
|
||||
int flags;
|
||||
bool bad;
|
||||
|
@ -302,10 +302,10 @@ void Write(XModel* Asset)
|
||||
dest->boneInfo = (XBoneInfo *)-1;
|
||||
}
|
||||
|
||||
if (Asset->streamInfo.highMipBounds)
|
||||
if (Asset->himipInvSqRadii)
|
||||
{
|
||||
Buffer->Write(Asset->streamInfo.highMipBounds, sizeof(float), 4 * Asset->numsurfs);
|
||||
dest->streamInfo.highMipBounds = (XModelHighMipBounds *)-1;
|
||||
Buffer->Write(Asset->himipInvSqRadii, 16, Asset->numsurfs);
|
||||
dest->himipInvSqRadii = (float *)-1;
|
||||
}
|
||||
|
||||
if (Asset->physPreset)
|
||||
|
Loading…
x
Reference in New Issue
Block a user