Changeset 3446 in orxonox.OLD for orxonox/trunk/src/light.cc
- Timestamp:
- Mar 2, 2005, 11:12:55 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/light.cc
r3444 r3446 44 44 /** 45 45 \brief standard deconstructor 46 \todo this deconstructor is not jet implemented - do it 47 46 47 first disables Lighting 48 then deletes all the lights 49 then deletes the rest of the allocated memory 50 and in the end sets the singleton Reference to zero. 48 51 */ 49 52 Light::~Light () … … 85 88 // set default values 86 89 this->currentLight->lightNumber = lightNumber; 87 this->setPosition( Vector(0.0, 0.0, 0.0));90 this->setPosition(0.0, 0.0, 0.0); 88 91 this->setDiffuseColor(1.0, 1.0, 1.0); 89 92 this->setSpecularColor(1.0, 1.0, 1.0); 90 // lmodelAmbient[] = {.1, .1, .1, 1.0};91 93 } 92 94 … … 154 156 /** 155 157 \brief delete light. 156 \param light number the number of the light to delete158 \param lightNumber the number of the light to delete 157 159 */ 158 160 void Light::deleteLight(int lightNumber) … … 188 190 } 189 191 192 /** 193 \brief Sets a Position for the Light. 194 \param x the x-coordinate 195 \param y the y-coordinate 196 \param z the z-coordinate 197 */ 190 198 void Light::setPosition(GLfloat x, GLfloat y, GLfloat z) 191 199 {
Note: See TracChangeset
for help on using the changeset viewer.