Why is my OpenGL program unable to load the GLUT bitmap fonts?
问题 I want to display some simple text on the HUD of my 3D environment in OpenGL. All sources say that I should use the bitmap fonts included in GLUT, however, my program can't seem the find/load the fonts. I have included all of the correct libraries and have double checked that the fonts.py file is definitely in the ...\Python37\...\OpenGL\GLUT\ directory, but when I type GLUT_BITMAP_TIMES_ROMAN_24 (or any of the other bitmap fonts), it is highlighted as an error in my code. This is the