Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 4, 2016, 8:59:19 PM (8 years ago)
Author:
landauf
Message:

more cleanup & deleting member objects in destructor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentationHS15/src/modules/hover/HoverFlag.cc

    r11042 r11043  
    6060    /**
    6161    @brief
     62        Destructor.
     63    */
     64    HoverFlag::~HoverFlag()
     65    {
     66        if (this->isInitialized())
     67        {
     68            if (this->model_)
     69                this->model_->destroy();
     70            if (this->cs_)
     71                this->cs_->destroy();
     72        }
     73    }
     74
     75    /**
     76    @brief
    6277        Initializes the flag.
    6378    @param xCoordinate
     
    8499    /**
    85100    @brief
    86         Destructor.
    87     */
    88     HoverFlag::~HoverFlag()
    89     {
    90 
    91     }
    92 
    93     /**
    94     @brief
    95101        Checks if the Hovership collided with the flag
    96102    */
Note: See TracChangeset for help on using the changeset viewer.