mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
cleaned up member::radius
This commit is contained in:
parent
4615bd6db8
commit
3ceaa0ed50
12 changed files with 18 additions and 18 deletions
|
|
@ -348,7 +348,7 @@ bool VolumetricFog::LoadShape()
|
|||
}
|
||||
|
||||
mObjBox = mShape->mBounds;
|
||||
mRadius = mShape->radius;
|
||||
mRadius = mShape->mRadius;
|
||||
resetWorldBox();
|
||||
|
||||
if (!isClientObject())
|
||||
|
|
@ -561,7 +561,7 @@ U32 VolumetricFog::packUpdate(NetConnection *con, U32 mask, BitStream *stream)
|
|||
if (bool(mShape) == false)
|
||||
return retMask;
|
||||
mObjBox = mShape->mBounds;
|
||||
mRadius = mShape->radius;
|
||||
mRadius = mShape->mRadius;
|
||||
resetWorldBox();
|
||||
mObjSize = mWorldBox.getGreatestDiagonalLength();
|
||||
mObjScale = getScale();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue