Changeset 7352 in orxonox.OLD for branches/bsp_model/src/world_entities
- Timestamp:
- Apr 19, 2006, 5:46:35 PM (19 years ago)
- Location:
- branches/bsp_model
- Files:
-
- 2 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 -
branches/bsp_model/src/world_entities/terrain.h
r7221 r7352 18 18 class HeightMap; 19 19 class Material; 20 class BspManager; 20 21 21 22 //! A simple method to call a desired debug world. … … 60 61 61 62 HeightMap* heightMap; 63 BspManager* bspManager; 62 64 Material* heightMapMaterial; 63 65 Vector terrainScale;
Note: See TracChangeset
for help on using the changeset viewer.