Changeset 3543 in orxonox.OLD for orxonox/trunk/src/light.cc
- Timestamp:
- Mar 14, 2005, 10:14:41 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/light.cc
r3453 r3543 52 52 Light::~Light () 53 53 { 54 this->destroy(); 55 } 56 57 58 /** 59 \brief frees all alocated memory 60 61 and in this case also deletes the lightSources and GL_LIGHTING 62 */ 63 void Light::destroy(void) 64 { 54 65 glDisable(GL_LIGHTING); 55 66 … … 58 69 delete lights; 59 70 Light::singletonRef = NULL; 60 } 71 72 static_cast<WorldEntity*>(this)->destroy(); 73 } 74 61 75 62 76 /**
Note: See TracChangeset
for help on using the changeset viewer.