Changeset 4684 in orxonox.OLD for orxonox/trunk/src/world_entities/world_entity.cc
- Timestamp:
- Jun 24, 2005, 12:57:36 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/world_entity.cc
r4682 r4684 201 201 202 202 203 void WorldEntity::drawBVTree(int depth, int drawMode) 204 { 205 glMatrixMode(GL_MODELVIEW); 206 glPushMatrix(); 207 float matrix[4][4]; 208 209 /* translate */ 210 glTranslatef (this->getAbsCoor ().x, 211 this->getAbsCoor ().y, 212 this->getAbsCoor ().z); 213 /* rotate */ 214 this->getAbsDir ().matrix (matrix); 215 glMultMatrixf((float*)matrix); 216 217 if (this->obbTree) 218 this->obbTree->drawBV(depth, drawMode); 219 glPopMatrix(); 220 } 221 203 222 /** 204 223 \brief this handles incoming command messages
Note: See TracChangeset
for help on using the changeset viewer.