Changeset 1286 for code/branches/hud3/src/orxonox/hud/RadarOverlayElement.h
- Timestamp:
- May 15, 2008, 3:49:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hud3/src/orxonox/hud/RadarOverlayElement.h
r1283 r1286 43 43 { 44 44 private: 45 int number_; 46 45 46 PanelOverlayElement* point[100]; 47 48 int dirX_, dirY_, dirZ_; //flying direction 49 int ortX_, ortY_, ortZ_; //orthogonal direction 50 int dX_, dY_, dZ_; //distance between main ship and the object 51 int vecX_, vecY_, vecZ_; //vector product dir X ort 52 double alpha_; //defines the radius in the radar 53 double beta_; //defines the angle in the radar 54 bool right_; //checks whether the object is on the right side (since cos is not bijective) 55 56 static int ID = 0; 47 57 48 58 public: … … 53 63 54 64 void initRadarOverlayElement(Real left, Real top, int dim, Ogre::OverlayContainer* container); 65 void setMainShipPosition(int dirX, dirY, dirZ, ortX, ortY, ortZ); 66 67 int newShip(int X, int Y, int Z); 68 69 void resetShip(int shipID, int Y, int Z); 55 70 }; 56 71 }
Note: See TracChangeset
for help on using the changeset viewer.