void glutBitmapString( void* font, const unsigned char *string ); void glutStrokeString( void* font, const unsigned char *string );
#include <gl/freeglut.h> ... ... //フォント void *font = GLUT_BITMAP_HELVETICA_18; ... ... glRasterPos3d(0, 0, 0);//0,0,0位置をスタート位置にする glutBitmapString(font,reinterpret_cast<const unsigned char*>("Hello Free glut Font")); ... ...