diff options
Diffstat (limited to 'test/CubeView.cxx')
| -rw-r--r-- | test/CubeView.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CubeView.cxx b/test/CubeView.cxx index 2a660fcde..7a26ff186 100644 --- a/test/CubeView.cxx +++ b/test/CubeView.cxx @@ -149,8 +149,8 @@ void CubeView::draw() { glPushMatrix(); - glTranslatef(xshift, yshift, 0); - glRotatef(hAng,0,1,0); glRotatef(vAng,1,0,0); + glTranslatef((GLfloat) xshift, (GLfloat) yshift, 0); + glRotatef((GLfloat) hAng,0,1,0); glRotatef((GLfloat) vAng,1,0,0); glScalef(float(size),float(size),float(size)); drawCube(); |
