mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 18:59:09 +00:00
Fix an "address of temporary" error in plCluster.
This commit is contained in:
@ -205,8 +205,10 @@ void plCluster::UnPack(UInt8* vDst, UInt16* iDst, int idxOffset, hsBounds3Ext& w
|
||||
}
|
||||
}
|
||||
}
|
||||
wBnd.Reset(&hsPoint3(minX, minY, minZ));
|
||||
wBnd.Union(&hsPoint3(maxX, maxY, maxZ));
|
||||
hsPoint3 min(minX, minY, minZ);
|
||||
wBnd.Reset(&min);
|
||||
hsPoint3 max(maxX, maxY, maxZ);
|
||||
wBnd.Union(&max);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user