Changeset 9987 in orxonox.OLD for branches/playability/src/world_entities/projectiles
- Timestamp:
- Dec 3, 2006, 3:26:08 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/projectiles/hbolt.cc
r9979 r9987 124 124 if (this->tickLifeCycle(dt)) 125 125 this->deactivate(); 126 127 126 128 } 127 129 … … 144 146 glDisable(GL_LIGHTING); 145 147 148 //glPushMatrix(); 149 //glRotatef(30, 0.0f, 1.0f, 0.0f); 150 146 151 WorldEntity::draw(); 147 152 /* glMatrixMode(GL_MODELVIEW); … … 156 161 glPopMatrix();*/ 157 162 163 /* 164 165 float matrix[4][4]; 166 glTranslatef (this->getAbsCoor ().x, this->getAbsCoor ().y, this->getAbsCoor ().z); 167 this->getAbsDir().matrix (matrix); 168 glMultMatrixf((float*)matrix); 169 glRotatef(30, 0.0, 1.0, 0.0); 170 //glMultMatrixf((float*)matrix); 171 this->getModel()->draw();*/ 172 //glPopMatrix(); 158 173 glPopAttrib(); 159 174 }
Note: See TracChangeset
for help on using the changeset viewer.