forked from speed-dreams/speed-dreams-code
fix some more uninitialized variables found by valgrind
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7017 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: f316145cbc81c0638ec82ddd1f0f48da2dd952ce Former-commit-id: 674dd97cbad5f42db621bea319f172d5b30e673b
This commit is contained in:
parent
1ca45ff9c2
commit
8805b3a4d6
2 changed files with 12 additions and 2 deletions
|
@ -120,7 +120,9 @@ SDCloudLayer::SDCloudLayer( const string &tex_path ) :
|
|||
direction(0.0),
|
||||
alt(1.0),
|
||||
/*last_course(0.0),*/
|
||||
max_alpha(1.0)
|
||||
max_alpha(1.0),
|
||||
last_x(0.0),
|
||||
last_y(0.0)
|
||||
{
|
||||
cloud_root->addChild(layer_root.get(), true);
|
||||
layer_root->addChild(group_bottom.get());
|
||||
|
|
|
@ -36,7 +36,15 @@
|
|||
|
||||
// Constructor
|
||||
SDSun::SDSun( void ) :
|
||||
visibility(-9999.0), prev_sun_angle(-9999.0), path_distance(60000.0),
|
||||
visibility(-9999.0),
|
||||
prev_sun_angle(-9999.0),
|
||||
sun_angle(0.0),
|
||||
sun_rotation(0.0),
|
||||
sun_angle_to_scene(0.0),
|
||||
sun_right_ascension(0.0),
|
||||
sun_declination(0.0),
|
||||
sun_dist(0.0),
|
||||
path_distance(60000.0),
|
||||
sun_exp2_punch_through(7.0e-06)
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue