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