Changeset 6268 in orxonox.OLD for branches/height_map/src/story_entities/world.cc
- Timestamp:
- Dec 22, 2005, 7:35:59 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/height_map/src/story_entities/world.cc
r6267 r6268 73 73 #include "playable.h" 74 74 75 #include "vertex_array_model.h"76 77 75 78 76 SHELL_COMMAND(speed, World, setSpeed); … … 386 384 localCamera->lookAt(playable); 387 385 // this->localPlayer->setParentMode(PNODE_ALL); 388 // if (sky != NULL) 389 // { 390 // this->sky->setParent(this->localCamera); 391 // this->sky->setParentMode(PNODE_MOVEMENT); 392 // } 393 394 VertexArrayModel* mod = new VertexArrayModel; 395 mod->planeModel(10.0, 10.0, 20, 20); 396 mod->finalize(); 397 mod->debug(); 398 this->TEST = mod; 399 this->testMat = new Material; 400 this->testMat->setDiffuse( 1,1,1); 386 if (sky != NULL) 387 { 388 this->sky->setParent(this->localCamera); 389 this->sky->setParentMode(PNODE_MOVEMENT); 390 } 401 391 402 392 // initialize debug coord system … … 836 826 GraphicsEngine::getInstance()->draw(); 837 827 //TextEngine::getInstance()->draw(); 838 this->testMat->select();839 this->TEST->draw();840 828 } 841 829
Note: See TracChangeset
for help on using the changeset viewer.