Changeset 3439 in orxonox.OLD for orxonox/trunk/src
- Timestamp:
- Mar 1, 2005, 8:38:20 PM (20 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/debug.h
r3433 r3439 27 27 #define INFORMATION 3 28 28 #define DEBUGING 4 29 30 #if HAVE_CONFIG_H 31 #include <config.h> 32 #endif 29 33 30 34 #include <stdio.h> -
orxonox/trunk/src/world.cc
r3438 r3439 878 878 this->localCamera->timeSlice(dt); 879 879 this->trackManager->tick(dt); 880 this->light->setPosition(10*cos((double)currentFrame/1000),10, 10*sin((double)currentFrame/1000)); 881 this->light->setDiffuseColor(.5-.5*cos((double)currentFrame/1000), .5+sin((double)currentFrame/1000), .5+sin((double)currentFrame/1000)); 882 this->light->setSpecularColor(.5-.5*sin((double)currentFrame/1000), .5+sin((double)currentFrame/1000), .5+cos((double)currentFrame/1000)); 880 883 } 881 884 this->lastFrame = currentFrame;
Note: See TracChangeset
for help on using the changeset viewer.