Changeset 1626 for code/trunk/src/orxonox/overlays/hud/HUDBar.cc
- Timestamp:
- Jun 26, 2008, 4:05:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/overlays/hud/HUDBar.cc
r1625 r1626 113 113 void HUDBar::setValue(float value) 114 114 { 115 if (value == this->value_)116 return;117 118 115 this->value_ = clamp<float>(value, 0, 1); 119 116 if (this->autoColour_ && this->textureUnitState_)
Note: See TracChangeset
for help on using the changeset viewer.