mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 17:59:56 +00:00
Read BSTriShape bounds into array
This commit is contained in:
parent
6dca3e68a6
commit
e7bbfed1fd
2 changed files with 2 additions and 2 deletions
|
@ -342,7 +342,7 @@ namespace Nif
|
|||
|
||||
if (nif->getBethVersion() == NIFFile::BethVersion::BETHVER_F76)
|
||||
{
|
||||
nif->readVector(mBoundMinMax, 6);
|
||||
nif->readArray(mBoundMinMax);
|
||||
}
|
||||
|
||||
mSkin.read(nif);
|
||||
|
|
|
@ -356,7 +356,7 @@ namespace Nif
|
|||
struct BSTriShape : Node
|
||||
{
|
||||
NiBoundingVolume::NiSphereBV mBoundingSphere;
|
||||
std::vector<float> mBoundMinMax;
|
||||
std::array<float, 6> mBoundMinMax;
|
||||
|
||||
NiSkinInstancePtr mSkin;
|
||||
BSShaderPropertyPtr mShaderProperty;
|
||||
|
|
Loading…
Reference in a new issue