Changeset 9961 for code/trunk/src/modules/invader/InvaderHUDinfo.cc
- Timestamp:
- Jan 3, 2014, 9:20:39 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/invader/InvaderHUDinfo.cc
r9943 r9961 117 117 this->setCaption(Multiplier); 118 118 this->setColour(ColourValue(1, 0, 0, clamp(float(mult * 0.1), 0.0f, 1.0f))); 119 this->setTextSize(clamp(float(mult * 0.1), 0.0f, 1.0f) * 0.01 + 0.04);119 this->setTextSize(clamp(float(mult * 0.1), 0.0f, 1.0f) * 0.01f + 0.04f); 120 120 } 121 121 }
Note: See TracChangeset
for help on using the changeset viewer.