Changeset 8690 in orxonox.OLD for branches/terrain/src/world_entities
- Timestamp:
- Jun 21, 2006, 11:29:30 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/terrain/src/world_entities/terrain_entity.cc
r8684 r8690 177 177 this->getAbsCoor().y, 178 178 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 */191 179 192 180 Vector cam = State::getCameraNode()->getAbsCoor(); … … 402 390 terrain->getAltitude( altitude, normal ); 403 391 404 return altitude.y ;405 } 392 return altitude.y+getAbsCoor().y; 393 }
Note: See TracChangeset
for help on using the changeset viewer.