/************************************************************************/ /* drawTextToGLWindow.cpp */ /* ------------------ */ /* */ /* This file contains a number of utility functions that */ /* use GLUT to draw text into the OpenGL window. */ /* */ /* Chris Wyman (12/7/2007) */ /************************************************************************/ #include "drawTextToGLWindow.h" #include #include #include #pragma warning( disable: 4996 ) void PrintString(char *str, void *font) { int len, i; len = (int) strlen(str); for(i=0; i