Changeset 1311 for code/branches/hud3/src/orxonox/hud
- Timestamp:
- May 16, 2008, 6:00:33 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hud3/src/orxonox/hud/RadarOverlayElement.cc
r1310 r1311 61 61 windowW = GraphicsEngine::getSingleton().getWindowWidth(); 62 62 windowH = GraphicsEngine::getSingleton().getWindowHeight(); 63 dim_ = dim*windowH; //conver relative data to absolute63 dim_ = dim*windowH; //convert relative data to absolute 64 64 left_ = left*windowW-dim_/2; // ... 65 65 top_ = top*windowH-dim_/2; // ... … … 68 68 69 69 shipPos_ = Vector3(0.0, 0.0, 0.0); 70 targetPos_ = Vector3( 42.0, 0.0, 0.0);70 targetPos_ = Vector3(1337.0, 0.0, 0.0); 71 71 initialDir_ = Vector3(1.0, 0.0, 0.0); 72 72 currentDir_ = initialDir_;
Note: See TracChangeset
for help on using the changeset viewer.