mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Remove unneeded double-initialization of the vars.
This commit is contained in:
parent
d9c5670e93
commit
62006e8b3c
|
|
@ -99,7 +99,6 @@ DebrisData::DebrisData()
|
|||
friction = 0.2f;
|
||||
numBounces = 0;
|
||||
bounceVariance = 0;
|
||||
minSpinSpeed = maxSpinSpeed = 0.0;
|
||||
staticOnMaxBounce = false;
|
||||
explodeOnMaxBounce = false;
|
||||
snapOnMaxBounce = false;
|
||||
|
|
|
|||
|
|
@ -368,7 +368,7 @@ void ProcessedFFMaterial::_initPassStateBlock( RenderPassData *rpd, GFXStateBloc
|
|||
result.blendDefined = true;
|
||||
result.blendEnable = true;
|
||||
result.blendSrc = GFXBlendOne;
|
||||
result.blendSrc = GFXBlendOne;
|
||||
result.blendDest = GFXBlendZero;
|
||||
}
|
||||
|
||||
// This is here for generic FF shader fallbacks.
|
||||
|
|
|
|||
|
|
@ -122,7 +122,6 @@ void RenderBinManager::internalAddElement(RenderInst* inst)
|
|||
mElementList.increment();
|
||||
MainSortElem &elem = mElementList.last();
|
||||
elem.inst = inst;
|
||||
elem.key = elem.key2 = 0;
|
||||
|
||||
elem.key = inst->defaultKey;
|
||||
elem.key2 = inst->defaultKey2;
|
||||
|
|
|
|||
|
|
@ -371,7 +371,6 @@ Marker::Marker()
|
|||
mTypeMask |= MarkerObjectType;
|
||||
|
||||
mSeqNum = 0;
|
||||
mSmoothingType = SmoothingTypeLinear;
|
||||
mMSToNext = 1000;
|
||||
mSmoothingType = SmoothingTypeSpline;
|
||||
mKnotType = KnotTypeNormal;
|
||||
|
|
|
|||
Loading…
Reference in a new issue