mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-26 18:13:47 +00:00
uninitialized variables-afx
This commit is contained in:
parent
157b114ec7
commit
3c0360fd2f
22 changed files with 88 additions and 25 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue