Changeset 5976 in orxonox.OLD for branches/height_map/src/world_entities
- Timestamp:
- Dec 7, 2005, 5:21:41 PM (19 years ago)
- Location:
- branches/height_map/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/height_map/src/world_entities/terrain.cc
r5967 r5976 24 24 #include "resource_manager.h" 25 25 #include "model.h" 26 #include "material.h" 26 27 #include "height_map.h" 27 28 #include "glincl.h" … … 39 40 40 41 this->init(); 41 42 43 this->tmp_mat = new Material(); 42 44 // this->loadParams(root); 43 45 … … 204 206 Vector tmpRot = this->getAbsDir().getSpacialAxis(); 205 207 glRotatef (this->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z ); 208 209 this->tmp_mat->select(); 210 206 211 this->model->draw(); 207 212 if (this->objectList) -
branches/height_map/src/world_entities/terrain.h
r5500 r5976 15 15 // FORWARD DECLARATION 16 16 class SpatialSeparation; 17 class Material; 17 18 18 19 //! A simple method to call a desired debug world. … … 43 44 private: 44 45 Model* vegetation; 46 Material* tmp_mat; 45 47 int objectList; 46 48 };
Note: See TracChangeset
for help on using the changeset viewer.