Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 22, 2005, 6:43:49 PM (20 years ago)
Author:
bensch
Message:

heightmap: changes to revert afterwards

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/height_map/src/story_entities/world.cc

    r6074 r6263  
    7373#include "playable.h"
    7474
     75#include "vertex_array_model.h"
     76
    7577
    7678SHELL_COMMAND(speed, World, setSpeed);
     
    384386  localCamera->lookAt(playable);
    385387//  this->localPlayer->setParentMode(PNODE_ALL);
    386   if (sky != NULL)
    387   {
    388     this->sky->setParent(this->localCamera);
    389     this->sky->setParentMode(PNODE_MOVEMENT);
    390   }
     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();
     396  mod->finalize();
     397  mod->debug();
     398  this->TEST = mod;
     399  this->testMat = new Material;
     400  this->testMat->setDiffuse( 1,1,1);
    391401
    392402  // initialize debug coord system
     
    826836  GraphicsEngine::getInstance()->draw();
    827837  //TextEngine::getInstance()->draw();
     838  this->testMat->select();
     839  this->TEST->draw();
    828840}
    829841
Note: See TracChangeset for help on using the changeset viewer.