Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 7, 2005, 5:21:41 PM (20 years ago)
Author:
bottac
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/height_map/src/world_entities/terrain.cc

    r5967 r5976  
    2424#include "resource_manager.h"
    2525#include "model.h"
     26#include "material.h"
    2627#include "height_map.h"
    2728#include "glincl.h"
     
    3940
    4041  this->init();
    41  
     42
     43  this->tmp_mat = new Material(); 
    4244  // this->loadParams(root);
    4345
     
    204206  Vector tmpRot = this->getAbsDir().getSpacialAxis();
    205207  glRotatef (this->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z );
     208
     209   this->tmp_mat->select();
     210
    206211  this->model->draw();
    207212  if (this->objectList)
Note: See TracChangeset for help on using the changeset viewer.