Ejemplo n.º 1
0
void GLFunc::gl_draw_text(char* text, short x, short y)
{
	glRasterPos2s( x, y );
	for(const char*c = text; *c != '\0'; c++)
	{
		glutBitmapCharacter(GLUT_BITMAP_8_BY_13, *c);
	}
}
Ejemplo n.º 2
0
/////////////////////////////////////////////////////////
// Render
//
void GEMglRasterPos2s :: render(GemState *state) {
	glRasterPos2s (x, y);
}
Ejemplo n.º 3
0
M(void, glRasterPos2s, jshort x, jshort y) {
	glRasterPos2s(x, y);
}