Changeset 1358
- Timestamp:
- May 22, 2008, 1:24:20 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hud3/src/orxonox/hud/RadarOverlayElement.cc
r1357 r1358 30 30 namespace orxonox 31 31 { 32 //ConsoleCommand(RadarOverlayElement, cycleFocus, AccessLevel::User, true);32 ConsoleCommandShortcut(RadarOverlayElement, cycleFocus, AccessLevel::User); 33 33 34 34 using namespace Ogre; … … 182 182 183 183 float RadarOverlayElement::getDist2Focus(){ 184 if(focus_ == NULL) return(0.0); 184 185 return((focus_->pos_-shipPos_).length()); 185 186 }
Note: See TracChangeset
for help on using the changeset viewer.