Changeset 10645 in orxonox.OLD for branches/vs-enhencements/src/world_entities/projectiles
- Timestamp:
- May 2, 2007, 11:48:16 PM (18 years ago)
- Location:
- branches/vs-enhencements/src/world_entities/projectiles
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/vs-enhencements/src/world_entities/projectiles/hbolt.cc
r10618 r10645 59 59 this->halo = new Billboard(); 60 60 this->halo->setSize(.65, .65); 61 this->halo->setTexture("hbolt_halo2. png");61 this->halo->setTexture("hbolt_halo2.jpg"); 62 62 this->halo->setVisibility(false); 63 63 … … 177 177 glPushAttrib(GL_ENABLE_BIT); 178 178 glDisable(GL_LIGHTING); 179 //glDisable(GL_FOG);179 glDisable(GL_FOG); 180 180 181 181 glMatrixMode(GL_MODELVIEW); … … 184 184 // float matrix[4][4]; 185 185 glTranslatef (this->getAbsCoor ().x, this->getAbsCoor ().y, this->getAbsCoor ().z); 186 this->halo->draw(); 187 186 188 Vector tmpRot = this->getAbsDir().getSpacialAxis(); 187 189 glRotatef (this->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z ); … … 189 191 // glMultMatrixf((float*)matrix); 190 192 this->getModel()->draw(); 191 this->halo->draw();192 193 193 194 glPopMatrix(); -
branches/vs-enhencements/src/world_entities/projectiles/lbolt.cc
r10635 r10645 62 62 this->halo = new Billboard(); 63 63 this->halo->setSize(.35, .35); 64 this->halo->setTexture("hbolt_halo. png");64 this->halo->setTexture("hbolt_halo.jpg"); 65 65 this->halo->setVisibility(false); 66 66
Note: See TracChangeset
for help on using the changeset viewer.