Improving the stroke fonts per e-mail from Fliran Echtler dated Sun 5/31/2009 3:56 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@825 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
3ba47f5708
commit
a5f5c71bac
@ -256,6 +256,10 @@ void FGAPIENTRY glutStrokeCharacter( void* fontID, int character )
|
|||||||
for( j = 0; j < strip->Number; j++ )
|
for( j = 0; j < strip->Number; j++ )
|
||||||
glVertex2f( strip->Vertices[ j ].X, strip->Vertices[ j ].Y );
|
glVertex2f( strip->Vertices[ j ].X, strip->Vertices[ j ].Y );
|
||||||
glEnd( );
|
glEnd( );
|
||||||
|
glBegin( GL_POINTS );
|
||||||
|
for( j = 0; j < strip->Number; j++ )
|
||||||
|
glVertex2f( strip->Vertices[ j ].X, strip->Vertices[ j ].Y );
|
||||||
|
glEnd( );
|
||||||
}
|
}
|
||||||
glTranslatef( schar->Right, 0.0, 0.0 );
|
glTranslatef( schar->Right, 0.0, 0.0 );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user