mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-28 08:37:12 +00:00
Read BSTriShape bounds into array
This commit is contained in:
parent
6dca3e68a6
commit
e7bbfed1fd
@ -342,7 +342,7 @@ namespace Nif
|
|||||||
|
|
||||||
if (nif->getBethVersion() == NIFFile::BethVersion::BETHVER_F76)
|
if (nif->getBethVersion() == NIFFile::BethVersion::BETHVER_F76)
|
||||||
{
|
{
|
||||||
nif->readVector(mBoundMinMax, 6);
|
nif->readArray(mBoundMinMax);
|
||||||
}
|
}
|
||||||
|
|
||||||
mSkin.read(nif);
|
mSkin.read(nif);
|
||||||
|
@ -356,7 +356,7 @@ namespace Nif
|
|||||||
struct BSTriShape : Node
|
struct BSTriShape : Node
|
||||||
{
|
{
|
||||||
NiBoundingVolume::NiSphereBV mBoundingSphere;
|
NiBoundingVolume::NiSphereBV mBoundingSphere;
|
||||||
std::vector<float> mBoundMinMax;
|
std::array<float, 6> mBoundMinMax;
|
||||||
|
|
||||||
NiSkinInstancePtr mSkin;
|
NiSkinInstancePtr mSkin;
|
||||||
BSShaderPropertyPtr mShaderProperty;
|
BSShaderPropertyPtr mShaderProperty;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user