Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6807 in orxonox.OLD for trunk/src/world_entities/weapons


Ignore:
Timestamp:
Jan 28, 2006, 2:57:27 PM (19 years ago)
Author:
bensch
Message:

trunk: hover optimize

Location:
trunk/src/world_entities/weapons
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/weapons/crosshair.cc

    r6512 r6807  
    135135  this->shiftDir2D(dt * rotationSpeed);
    136136
    137 
     137/*
    138138  float z = 0.0f;
    139139  glReadPixels ((int)this->getAbsCoor2D().x,
     
    155155               &objX,
    156156               &objY,
    157                &objZ );
     157               &objZ );*/
    158158
    159159  //this->setAbsCoor(objX, objY, objZ);
     
    181181  glEnd();
    182182  glPopMatrix();
    183 
    184183}
  • trunk/src/world_entities/weapons/weapon_manager.cc

    r6803 r6807  
    104104  // CROSSHAIR INITIALISATION
    105105  this->crosshair = new Crosshair();
    106 
     106  //this->crosshair->setRelCoor(1000,0,0);
    107107  this->crossHairSizeAnim = new tAnimation<Crosshair>(this->crosshair, &Crosshair::setSize);
    108108  this->crossHairSizeAnim->setInfinity(ANIM_INF_REWIND);
Note: See TracChangeset for help on using the changeset viewer.