Changeset 3301 for code/trunk/src/orxonox/overlays/hud
- Timestamp:
- Jul 18, 2009, 4:03:59 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/overlays/hud/HUDNavigation.cc
r3280 r3301 141 141 142 142 // set text 143 int dist = (int) getDist2Focus();143 int dist = static_cast<int>(getDist2Focus()); 144 144 navText_->setCaption(multi_cast<std::string>(dist)); 145 145 float textLength = multi_cast<std::string>(dist).size() * navText_->getCharHeight() * 0.3;
Note: See TracChangeset
for help on using the changeset viewer.