Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8690 in orxonox.OLD for branches/terrain/src/world_entities


Ignore:
Timestamp:
Jun 21, 2006, 11:29:30 PM (19 years ago)
Author:
ponder
Message:
 
File:
1 edited

Legend:

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

    r8684 r8690  
    177177                 this->getAbsCoor().y,
    178178                 this->getAbsCoor().z );
    179   /* rotate */
    180   // Vector tmpRot = this->getAbsDir().getSpacialAxis();
    181   //glRotatef (this->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z );
    182 
    183   /*if (this->objectList)
    184     glCallList(this->objectList);
    185   else if (this->getModel())
    186     this->getModel()->draw();
    187 
    188   if (this->vegetation)
    189     this->vegetation->draw();
    190 */
    191179
    192180        Vector cam = State::getCameraNode()->getAbsCoor();
     
    402390                terrain->getAltitude( altitude, normal );
    403391               
    404   return altitude.y;
    405 }
     392  return altitude.y+getAbsCoor().y;
     393}
Note: See TracChangeset for help on using the changeset viewer.