Changeset 3428 in orxonox.OLD for orxonox/trunk/src/glmenu_imagescreen.cc
- Timestamp:
- Mar 1, 2005, 12:18:22 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/glmenu_imagescreen.cc
r3394 r3428 18 18 19 19 #include "glmenu_imagescreen.h" 20 #include "importer/texture.h" 20 21 21 #include "importer/material.h" 22 22 … … 156 156 int barHeight = 30; 157 157 158 int val = ( (float)this->currentValue/(float)this->maxValue) * barWidth;158 int val = (int)((float)this->currentValue/(float)this->maxValue) * barWidth; 159 159 160 160 glMatrixMode(GL_PROJECTION);
Note: See TracChangeset
for help on using the changeset viewer.