Changeset 10259 in orxonox.OLD for branches/camera/src/world_entities/skybox.cc
- Timestamp:
- Jan 17, 2007, 3:46:05 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/camera/src/world_entities/skybox.cc
r9869 r10259 30 30 31 31 #include "debug.h" 32 33 #include "state.h" 34 #include "playable.h" 35 #include "player.h" 32 36 33 37 #include "class_id_DEPRECATED.h" … … 220 224 { 221 225 this->size = size; 226 } 227 228 229 230 void SkyBox::tick(float dt) 231 { 232 PRINTF(0)("tick\n"); 233 234 Player* pl = State::getPlayer(); 235 if( pl == NULL) 236 return; 237 238 Playable* playable = pl->getPlayable(); 239 if( playable == NULL) 240 return; 241 242 if( this->getParent() != playable) 243 this->setParent( playable); 222 244 } 223 245
Note: See TracChangeset
for help on using the changeset viewer.