Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 3, 2006, 10:52:11 PM (17 years ago)
Author:
nicolasc
Message:

textured test_entity2, minor changes in hbolt

File:
1 edited

Legend:

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

    r10004 r10005  
    4747  this->angle = 0;
    4848  this->rotationSpeed = 1000;
    49 
    5049
    5150  this->emitter = new DotEmitter(100, 5, M_2_PI);
     
    119118void HBolt::updateAngle (float time)
    120119{
    121 <<<<<<< .mine
    122120  this->angle += this->rotationSpeed * time;
    123 =======
    124   this->angle = this->angle + this->rotationSpeed * time;
    125 >>>>>>> .r10003
    126121}
    127122
     
    178173  //this->updateAngle();
    179174
    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 =======
    190175  //glTranslatef (this->getAbsCoor ().x, this->getAbsCoor ().y, this->getAbsCoor ().z);
    191176  //glRotatef(this->angle, 0.0, 0.0, -1.0);
     
    196181  glRotatef (this->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z );
    197182  glRotatef(this->angle, 0.0, 0.0, 1.0);
    198 >>>>>>> .r10003
    199183  this->getModel()->draw();
    200184  glPopMatrix();
Note: See TracChangeset for help on using the changeset viewer.