Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3544 in orxonox.OLD for orxonox/trunk/src/camera.cc


Ignore:
Timestamp:
Mar 14, 2005, 10:54:00 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: now the delete-process is as inteded by c++
virtual ~ClassName extends deletion and deletes also the MasterClass

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/camera.cc

    r3543 r3544  
    5151Camera::~Camera ()
    5252{
    53   this->destroy();
    54 }
    55 
    56 /**
    57    \brief deletes all allocated memory
    58 */
    59 void Camera::destroy(void)
    60 {
    6153  this->bound = NULL;
    6254  this->world = NULL;
    6355
    64   static_cast<WorldEntity*>(this)->destroy();
    6556}
    6657
Note: See TracChangeset for help on using the changeset viewer.