Changeset 4998 in orxonox.OLD for orxonox/trunk/src/world_entities/terrain.cc
- Timestamp:
- Aug 13, 2005, 7:19:51 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/terrain.cc
r4924 r4998 106 106 glMatrixMode(GL_MODELVIEW); 107 107 glPushMatrix(); 108 float matrix[4][4];109 108 110 109 /* translate */ … … 113 112 this->getAbsCoor ().z); 114 113 /* rotate */ 115 this->getAbsDir ().matrix (matrix);116 gl MultMatrixf((float*)matrix);114 Vector tmpRot = this->getAbsDir().getSpacialAxis(); 115 glRotatef (this->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z ); 117 116 118 117 if (this->objectList)
Note: See TracChangeset
for help on using the changeset viewer.