glPushMatrix()
glTranslate(23, 0, 0)
noZ = ResetMatrixRotationAndScale()
- glRasterPos2f(-2,-2)
+ glRasterPos2f(0,0)
+ glBitmap(0,0,0,0, -5, -5, None)
glutBitmapCharacter(GLUT_BITMAP_HELVETICA_18, ord('X'))
glPopMatrix()
glColor3f(0, 1, 0)
glPushMatrix()
glTranslate(0, 23, 0)
- ResetMatrixRotationAndScale()
- glRasterPos2f(-2,-2)
+ glRasterPos2f(0,0)
+ glBitmap(0,0,0,0, -5, -5, None)
glutBitmapCharacter(GLUT_BITMAP_HELVETICA_18, ord('Y'))
glPopMatrix()
glColor3f(0, 0, 1)
glPushMatrix()
glTranslate(0, 0, 23)
- ResetMatrixRotationAndScale()
- glRasterPos2f(-2,-2)
+ glRasterPos2f(0,0)
+ glBitmap(0,0,0,0, -5, -5, None)
glutBitmapCharacter(GLUT_BITMAP_HELVETICA_18, ord('Z'))
glPopMatrix()