Changeset 5994 in orxonox.OLD for trunk/src/world_entities/weapons/projectile.cc
- Timestamp:
- Dec 9, 2005, 10:43:31 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/projectile.cc
r5769 r5994 137 137 {} 138 138 139 140 void Projectile::draw () const141 {142 glMatrixMode(GL_MODELVIEW);143 glPushMatrix();144 145 float matrix[4][4];146 glTranslatef (this->getAbsCoor ().x, this->getAbsCoor ().y, this->getAbsCoor ().z);147 this->getAbsDir().matrix (matrix);148 glMultMatrixf((float*)matrix);149 this->model->draw();150 151 glPopMatrix();152 }153
Note: See TracChangeset
for help on using the changeset viewer.