bounds to mBounds conflict avoidance

This commit is contained in:
Azaezel 2018-03-13 01:05:15 -05:00
parent f08339c534
commit 242a51eefe
22 changed files with 50 additions and 50 deletions

View file

@ -347,7 +347,7 @@ bool VolumetricFog::LoadShape()
return false;
}
mObjBox = mShape->bounds;
mObjBox = mShape->mBounds;
mRadius = mShape->radius;
resetWorldBox();
@ -560,7 +560,7 @@ U32 VolumetricFog::packUpdate(NetConnection *con, U32 mask, BitStream *stream)
mShape = ResourceManager::get().load(mShapeName);
if (bool(mShape) == false)
return retMask;
mObjBox = mShape->bounds;
mObjBox = mShape->mBounds;
mRadius = mShape->radius;
resetWorldBox();
mObjSize = mWorldBox.getGreatestDiagonalLength();