Sign in to follow this  
ms75214

glutStrokeCharacter

Recommended Posts

has anyone successfully used glutStrokeCharacter?

i keep trying it, and nothing shows up.

void output(GLfloat x, GLfloat y, char *text)
{
char *p;

glPushMatrix();
glTranslatef(x, y, 0);
for (p = text; *p; p++)
glutStrokeCharacter(GLUT_STROKE_MONO_ROMAN, *p);


glPopMatrix();
}

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this