Changeset 3484 in orxonox.OLD for orxonox/trunk/src/world_entities/skysphere.cc
- Timestamp:
- Mar 10, 2005, 11:29:32 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/skysphere.cc
r3475 r3484 13 13 main-programmer: David Gruetter 14 14 co-programmer: Benjamin Grauer 15 16 Created by Dave: this file is actually quite similar to player.cc and so is 17 skybox.h similar to player.h 18 With that said, things should be clear:) 19 20 Edited by Bensch: more constructors, changeability, comments... 15 16 Created by Dave: this file is actually quite similar to player.cc and so is 17 skybox.h similar to player.h 18 With that said, things should be clear:) 19 20 Edited: 21 Bensch: more constructors, changeability, comments... 22 Patrick: giving it the common orxonox style, not much to do... good work Dave! 21 23 22 24 */ 23 25 24 #include " importer/material.h"26 #include "material.h" 25 27 #include "skysphere.h" 26 28 #include "stdincl.h" … … 75 77 } 76 78 79 77 80 /** 78 81 \brief sets the Radius of the Sphere. … … 84 87 } 85 88 89 86 90 /** 87 91 \brief Defines which texture should be loaded onto the skysphere. … … 92 96 this->skyMaterial->setDiffuseMap(fileName); 93 97 } 98 94 99 95 100 /** … … 104 109 } 105 110 111 106 112 /** 107 113 \brief draws the Skysphere … … 109 115 This part is normally precessed in the "Painting Phase". 110 116 */ 111 112 117 void Skysphere::draw() 113 118 { … … 124 129 glPopMatrix(); 125 130 glDisable(GL_TEXTURE_2D); 126 127 131 }
Note: See TracChangeset
for help on using the changeset viewer.