Changeset 6807 in orxonox.OLD for trunk/src/world_entities/weapons
- Timestamp:
- Jan 28, 2006, 2:57:27 PM (19 years ago)
- Location:
- trunk/src/world_entities/weapons
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/crosshair.cc
r6512 r6807 135 135 this->shiftDir2D(dt * rotationSpeed); 136 136 137 137 /* 138 138 float z = 0.0f; 139 139 glReadPixels ((int)this->getAbsCoor2D().x, … … 155 155 &objX, 156 156 &objY, 157 &objZ ); 157 &objZ );*/ 158 158 159 159 //this->setAbsCoor(objX, objY, objZ); … … 181 181 glEnd(); 182 182 glPopMatrix(); 183 184 183 } -
trunk/src/world_entities/weapons/weapon_manager.cc
r6803 r6807 104 104 // CROSSHAIR INITIALISATION 105 105 this->crosshair = new Crosshair(); 106 106 //this->crosshair->setRelCoor(1000,0,0); 107 107 this->crossHairSizeAnim = new tAnimation<Crosshair>(this->crosshair, &Crosshair::setSize); 108 108 this->crossHairSizeAnim->setInfinity(ANIM_INF_REWIND);
Note: See TracChangeset
for help on using the changeset viewer.