Changeset 3706 in orxonox.OLD for orxonox/branches/shadows/src/world.cc
- Timestamp:
- Mar 31, 2005, 11:29:47 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/shadows/src/world.cc
r3698 r3706 28 28 #include "helper_parent.h" 29 29 #include "glmenu_imagescreen.h" 30 #include "skysphere.h"31 30 #include "importer/material.h" 32 31 … … 291 290 292 291 293 // create skybox 292 //create shadow 293 float a[]={1.0,1.0,1.0,4.0}; 294 this->shadow =new Shadow(myPlayer->model,(Player*)myPlayer,a); 295 shadow->init(); 296 297 //create skysphere 294 298 this->skysphere =new Skysphere(); 295 296 299 300 297 301 // bind camera 298 302 this->localCamera = new Camera(this); … … 583 587 584 588 glEnable(GL_TEXTURE_2D); 585 586 589 skysphere->draw(); 590 591 shadow->draw(); 592 587 593 588 594 } … … 668 674 669 675 skysphere->updatePosition(localPlayer->absCoordinate.x,localPlayer->absCoordinate.y,localPlayer->absCoordinate.z); 670 676 shadow->updatePosition(localPlayer->absCoordinate.x,localPlayer->absCoordinate.y,localPlayer->absCoordinate.z); 671 677 //for( int i = 0; i < tracklen; i++) track[i].tick (seconds); 672 678 }
Note: See TracChangeset
for help on using the changeset viewer.