Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 3, 2006, 10:36:50 PM (18 years ago)
Author:
marcscha
Message:

see changelog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/world_entities/projectiles/hbolt.cc

    r10003 r10004  
    4747  this->angle = 0;
    4848  this->rotationSpeed = 1000;
     49
    4950
    5051  this->emitter = new DotEmitter(100, 5, M_2_PI);
     
    118119void HBolt::updateAngle (float time)
    119120{
     121<<<<<<< .mine
     122  this->angle += this->rotationSpeed * time;
     123=======
    120124  this->angle = this->angle + this->rotationSpeed * time;
     125>>>>>>> .r10003
    121126}
    122127
     
    173178  //this->updateAngle();
    174179
     180<<<<<<< .mine
     181  //glTranslatef (this->getAbsCoor ().x, this->getAbsCoor ().y, this->getAbsCoor ().z);
     182  //glRotatef(this->angle, 0.0, 0.0, -1.0);
     183  glTranslatef (this->getAbsCoor ().x,
     184                  this->getAbsCoor ().y,
     185                  this->getAbsCoor ().z);
     186  Vector tmpRot = this->getAbsDir().getSpacialAxis();
     187  glRotatef (this->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z );
     188  glRotatef(this->angle, 0.0, 0.0, -1.0);
     189=======
    175190  //glTranslatef (this->getAbsCoor ().x, this->getAbsCoor ().y, this->getAbsCoor ().z);
    176191  //glRotatef(this->angle, 0.0, 0.0, -1.0);
     
    181196  glRotatef (this->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z );
    182197  glRotatef(this->angle, 0.0, 0.0, 1.0);
     198>>>>>>> .r10003
    183199  this->getModel()->draw();
    184200  glPopMatrix();
Note: See TracChangeset for help on using the changeset viewer.