mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
uninitialized variables-environment and forrest
This commit is contained in:
parent
2c1508c169
commit
1efb687867
20 changed files with 74 additions and 34 deletions
|
|
@ -82,15 +82,16 @@ CloudLayer::CloudLayer()
|
|||
mTypeMask |= EnvironmentObjectType | StaticObjectType;
|
||||
mNetFlags.set(Ghostable | ScopeAlways);
|
||||
|
||||
mModelViewProjSC =
|
||||
mAmbientColorSC =
|
||||
mSunColorSC =
|
||||
mSunVecSC =
|
||||
mTexScaleSC =
|
||||
mBaseColorSC =
|
||||
mCoverageSC =
|
||||
mExposureSC =
|
||||
mEyePosWorldSC = 0;
|
||||
mModelViewProjSC = NULL;
|
||||
mAmbientColorSC = NULL;
|
||||
mSunColorSC = NULL;
|
||||
mSunVecSC = NULL;
|
||||
mTexScaleSC = NULL;
|
||||
mBaseColorSC = NULL;
|
||||
mCoverageSC = NULL;
|
||||
mExposureSC = NULL;
|
||||
mEyePosWorldSC = NULL;
|
||||
mNormalHeightMapSC = NULL;
|
||||
|
||||
mTexOffsetSC[0] = mTexOffsetSC[1] = mTexOffsetSC[2] = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue