Added default construction values for various member variables to fix report

uninitialized variables.
This commit is contained in:
Robert Osfield
2002-07-21 10:44:25 +00:00
parent b23aea5173
commit 3cda894ca5
4 changed files with 23 additions and 6 deletions

View File

@@ -23,6 +23,7 @@ osgParticle::ParticleSystem::ParticleSystem()
display_list_id_(-1),
bmin_(0, 0, 0),
bmax_(0, 0, 0),
reset_bounds_flag_(false),
bounds_computed_(false),
def_ptemp_(Particle()),
last_frame_(0),
@@ -43,6 +44,7 @@ osgParticle::ParticleSystem::ParticleSystem(const ParticleSystem &copy, const os
display_list_id_(-1),
bmin_(copy.bmin_),
bmax_(copy.bmax_),
reset_bounds_flag_(copy.reset_bounds_flag_),
bounds_computed_(copy.bounds_computed_),
def_ptemp_(copy.def_ptemp_),
last_frame_(copy.last_frame_),