uninitialized variables-afx

This commit is contained in:
AzaezelX 2020-05-11 13:54:23 -05:00
parent 157b114ec7
commit 3c0360fd2f
22 changed files with 88 additions and 25 deletions

View file

@ -1033,6 +1033,14 @@ LightningBolt::LightningBolt()
elapsedTime = 0.0f;
lifetime = 1.0f;
startRender = false;
endPoint.zero();
width = 1;
numMajorNodes = 10;
maxMajorAngle = 30.0f;
numMinorNodes = 4;
maxMinorAngle = 15.0f;
fadeTime = 0.2f;
renderTime = 0.125;
}
//--------------------------------------------------------------------------