Changeset 1310 for code/branches/hud3/src/orxonox/hud/RadarOverlayElement.h
- Timestamp:
- May 16, 2008, 5:57:05 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hud3/src/orxonox/hud/RadarOverlayElement.h
r1308 r1310 49 49 Ogre::OverlayContainer* container_; 50 50 Ogre::OverlayManager* om; //pointer to the one and only overlay manager 51 Vector3 initialDir_; // initial direction of ship52 Vector3 currentDir_; //current direction of ship53 Vector3 initialOrth_; 51 Vector3 initialDir_; // direction of nose 52 Vector3 currentDir_; 53 Vector3 initialOrth_; // direction of normal 54 54 Vector3 currentOrth_; 55 55 Vector3 targetPos_; //position of target 56 56 Vector3 shipPos_; //position of ship 57 Vector3 vec_; //vector product dir X ort 58 double radius_; //defines the radius in the radar59 double phi_; //defines the angle in the radar60 float left_, top_ ;57 58 double radius_; //defines the radius on the radar 59 double phi_; //defines the angle on the radar 60 float left_, top_, dim_; 61 61 bool right_; //checks whether the object is on the right side (since cos is not bijective) 62 62 int count_; 63 int dim_;63 int windowW, windowH; 64 64 65 65 public: … … 69 69 virtual void initialise(); 70 70 void update(); 71 void initRadarOverlayElement(Real left, Real top, intdim, Ogre::OverlayContainer* container);71 void initRadarOverlayElement(Real left, Real top, Real dim, Ogre::OverlayContainer* container); 72 72 void setMainShipPosition(int dirX, int dirY, int dirZ, int ortX, int ortY, int ortZ); 73 73 int newShip(int X, int Y, int Z);
Note: See TracChangeset
for help on using the changeset viewer.