[IGfxWorld] Fix aabbtree structure
This commit is contained in:
parent
45147ec8ea
commit
3b6c502368
@ -1053,7 +1053,7 @@ namespace Assets
|
||||
{
|
||||
buffer->align(Utils::Stream::ALIGN_2);
|
||||
|
||||
for (int k = 0; k < aabbTree->smodelIndexCount; ++k)
|
||||
for (unsigned short k = 0; k < aabbTree->smodelIndexCount; ++k)
|
||||
{
|
||||
builder->storePointer(&aabbTree->smodelIndexes[k]);
|
||||
buffer->save(&aabbTree->smodelIndexes[k]);
|
||||
|
@ -2959,10 +2959,11 @@ namespace Game
|
||||
{
|
||||
float mins[3];
|
||||
float maxs[3];
|
||||
int pad;
|
||||
unsigned __int16 childCount;
|
||||
unsigned __int16 surfaceCount;
|
||||
unsigned __int16 startSurfIndex;
|
||||
unsigned __int16 surfaceCountNoDecal;
|
||||
unsigned __int16 startSurfIndexNoDecal;
|
||||
unsigned __int16 smodelIndexCount;
|
||||
unsigned __int16 *smodelIndexes;
|
||||
int childrenOffset;
|
||||
|
Loading…
Reference in New Issue
Block a user