Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 14, 2007, 11:23:51 PM (17 years ago)
Author:
nicolasc
Message:

minor improvements, some cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/weapons/nadion_laser.cc

    r10698 r10702  
    8888
    8989  this->setCapability(WTYPE_ALLDIRS | WTYPE_DIRECTIONAL | WTYPE_LIGHT);
    90   this->setProjectileTypeC("NadionBlast");   // FIXME temp projectile, until nadion_laser_bolt exists.
     90  this->setProjectileTypeC("NadionBlast");
    9191  this->prepareProjectiles(20);
    9292
     
    167167void NadionLaser::draw() const
    168168{
     169  glPushMatrix();
    169170  glMatrixMode(GL_MODELVIEW);
    170   glPushMatrix();
    171171    glTranslatef (this->getAbsCoor ().x, this->getAbsCoor ().y, this->getAbsCoor ().z);
    172172    Vector tmpRot = this->getAbsDir().getSpacialAxis();
    173173    glRotatef (this->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z );
    174174    static_cast<StaticModel*>(this->getModel())->draw();
    175 
    176 
    177175  glPopMatrix();
    178176}
Note: See TracChangeset for help on using the changeset viewer.