Changeset 1444 for code/branches/network/src/orxonox/hud
- Timestamp:
- May 28, 2008, 12:01:16 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/orxonox/hud/Navigation.cc
r1411 r1444 125 125 // top right quadrant 126 126 if(-phiNav<phiUpperCorner){ 127 COUT(3) << "arrow up\n";127 //COUT(3) << "arrow up\n"; 128 128 navMarker_->setPosition(-tan(phiNav)*windowH_/2+windowW_/2, 0); 129 129 navMarker_->setUV(0.5, 0.0, 1.0, 0.5); … … 132 132 } 133 133 else { 134 COUT(3) << "arrow right\n";134 //COUT(3) << "arrow right\n"; 135 135 navMarker_->setPosition(windowW_-16, tan((3.14-2*phiNav)/2)*windowW_/2+windowH_/2); 136 136 navMarker_->setUV(0.5, 0.5, 1.0, 1.0); … … 142 142 // bottom right quadrant 143 143 if(phiNav<phiUpperCorner) { 144 COUT(3) << "arrow down\n";144 //COUT(3) << "arrow down\n"; 145 145 navMarker_->setPosition(tan(phiNav)*windowH_/2+windowW_/2, windowH_-16); 146 146 navMarker_->setUV(0.0, 0.5, 0.5, 1.0); … … 149 149 } 150 150 else { 151 COUT(3) << "arrow right\n";151 //COUT(3) << "arrow right\n"; 152 152 navMarker_->setPosition(windowW_-16, tan((3.14-2*phiNav)/2)*windowW_/2+windowH_/2); 153 153 navMarker_->setUV(0.5, 0.5, 1.0, 1.0); … … 159 159 // top left quadrant 160 160 if(phiNav<phiUpperCorner){ 161 COUT(3) << "arrow up\n";161 //COUT(3) << "arrow up\n"; 162 162 navMarker_->setPosition(-tan(phiNav)*windowH_/2+windowW_/2, 0); 163 163 navMarker_->setUV(0.5, 0.0, 1.0, 0.5); … … 166 166 } 167 167 else { 168 COUT(3) << "arrow left\n";168 //COUT(3) << "arrow left\n"; 169 169 navMarker_->setPosition(0, -tan((3.14-2*phiNav)/2)*windowW_/2+windowH_/2); 170 170 navMarker_->setUV(0.0, 0.0, 0.5, 0.5); … … 176 176 // bottom left quadrant 177 177 if(phiNav>-phiUpperCorner) { 178 COUT(3) << "arrow down\n";178 //COUT(3) << "arrow down\n"; 179 179 navMarker_->setPosition(tan(phiNav)*windowH_/2+windowW_/2, windowH_-16); 180 180 navMarker_->setUV(0.0, 0.5, 0.5, 1.0); … … 183 183 } 184 184 else { 185 COUT(3) << "arrow left\n";185 //COUT(3) << "arrow left\n"; 186 186 navMarker_->setPosition(0, -tan((3.14-2*phiNav)/2)*windowW_/2+windowH_/2); 187 187 navMarker_->setUV(0.0, 0.0, 0.5, 0.5);
Note: See TracChangeset
for help on using the changeset viewer.