Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3428 in orxonox.OLD for orxonox/trunk/src/glmenu_imagescreen.cc


Ignore:
Timestamp:
Mar 1, 2005, 12:18:22 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: GLMenuImageScreen: singletonClass has private constructor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/glmenu_imagescreen.cc

    r3394 r3428  
    1818
    1919#include "glmenu_imagescreen.h"
    20 #include "importer/texture.h"
     20
    2121#include "importer/material.h"
    2222
     
    156156  int barHeight = 30;
    157157
    158   int val = ((float)this->currentValue/(float)this->maxValue) * barWidth;
     158  int val = (int)((float)this->currentValue/(float)this->maxValue) * barWidth;
    159159
    160160  glMatrixMode(GL_PROJECTION);
Note: See TracChangeset for help on using the changeset viewer.