Changeset 4597 in orxonox.OLD for orxonox/trunk/src/world_entities/environment.cc
- Timestamp:
- Jun 11, 2005, 12:55:48 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/environment.cc
r4490 r4597 1 1 2 2 3 /* 3 /* 4 4 orxonox - the future of 3D-vertical-scrollers 5 5 … … 13 13 ### File Specific 14 14 main-programmer: Patrick Boenzli 15 co-programmer: 15 co-programmer: 16 16 */ 17 17 … … 31 31 Environment::Environment () : WorldEntity() 32 32 { 33 33 this->setClassID(CL_ENVIRONMENT, "Environment"); 34 34 } 35 35 … … 38 38 \brief deletes an environment 39 39 */ 40 Environment::~Environment () 40 Environment::~Environment () 41 41 { 42 42 … … 67 67 \brief draws the Environment 68 68 */ 69 void Environment::draw () 69 void Environment::draw () 70 70 { 71 71 //this->getRelCoor().debug(); … … 74 74 glPushMatrix(); 75 75 float matrix[4][4]; 76 76 77 77 glTranslatef (this->getAbsCoor ().x, this->getAbsCoor ().y, this->getAbsCoor ().z); 78 78 //rotate 79 79 this->getAbsDir().matrix (matrix); 80 80 glMultMatrixf((float*)matrix); 81 81 82 82 this->model->draw(); 83 83
Note: See TracChangeset
for help on using the changeset viewer.