Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 30, 2006, 10:12:47 AM (19 years ago)
Author:
hdavid
Message:

branches/mountain_lake: deactivating clouds also deactivates the skydome

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/mountain_lake/src/world_entities/skydome.cc

    r8903 r8946  
    4747  this->toList(OM_BACKGROUND);
    4848  this->toReflectionList();
     49 
     50  activateDome = false;
    4951
    5052}
     
    7476
    7577
     78void Skydome::activate()
     79{
     80  this->activateDome = true;
     81}
     82
     83void Skydome::deactivate()
     84{
     85  this->activateDome = false;
     86}
     87
     88
    7689void Skydome::draw() const
    7790{
     91  if(!activateDome)
     92    return;
     93 
    7894  glPushAttrib(GL_ENABLE_BIT);
    7995
Note: See TracChangeset for help on using the changeset viewer.