Changeset 7352 in orxonox.OLD for branches/bsp_model/src/world_entities/terrain.cc
- Timestamp:
- Apr 19, 2006, 5:46:35 PM (19 years ago)
- Location:
- branches/bsp_model
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/world_entities/terrain.cc
r7221 r7352 30 30 31 31 #include "glincl.h" 32 32 #include "lib/graphics/importer/bsp_manager.h" 33 33 #include "state.h" 34 34 … … 107 107 this->toList(OM_ENVIRON_NOTICK); 108 108 109 109 this->objectList = 0; 110 110 this->ssp = NULL; 111 111 this->vegetation = NULL; 112 112 113 this->bspManager = new BspManager(); 113 114 this->heightMap = NULL; 114 115 115 this->heightMapMaterial = new Material(); 116 this->heightMapMaterial = new Material(); 117 118 this->bspManager = new BspManager(); 119 //this->loadTexture("maps/wall1.jpeg"); 116 120 } 117 121 … … 204 208 // Vector tmpRot = this->getAbsDir().getSpacialAxis(); 205 209 //glRotatef (this->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z ); 206 210 /* 207 211 if (this->objectList) 208 212 glCallList(this->objectList); … … 221 225 this->heightMap->draw(); 222 226 } 227 228 */ 229 230 this->bspManager->draw(); 223 231 glPopMatrix(); 224 232
Note: See TracChangeset
for help on using the changeset viewer.