Changeset 4998 in orxonox.OLD for orxonox/trunk/src/world_entities/world_entity.cc
- Timestamp:
- Aug 13, 2005, 7:19:51 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/world_entity.cc
r4885 r4998 179 179 glMatrixMode(GL_MODELVIEW); 180 180 glPushMatrix(); 181 float matrix[4][4];182 183 181 /* translate */ 184 182 glTranslatef (this->getAbsCoor ().x, … … 186 184 this->getAbsCoor ().z); 187 185 /* rotate */ 188 this->getAbsDir ().matrix (matrix);189 gl MultMatrixf((float*)matrix);186 Vector tmpRot = this->getAbsDir().getSpacialAxis(); 187 glRotatef (this->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z ); 190 188 191 189 if (this->obbTree)
Note: See TracChangeset
for help on using the changeset viewer.