font.h

来自「体现了lod(level of detail)算法 包括网格细分,空间层次」· C头文件 代码 · 共 28 行

H
28
字号

#ifdef __cplusplus
extern "C" {
#endif

#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
//#include "winmain.h"
#include <gl\gl.h>
#include <gl\glu.h>
#include <gl\glaux.h>

#define MAX_CHARS	256


void CreateOpenGLFont(LPSTR strFontName, int height);
void PositionText( int x, int y );
void glDrawText(int x, int y, const char *strString, ...);

void DestroyFont();
void ShowLabelText(int x, int y, char * OutString, int r, int g, int b);
void ShowLabelInt(int x, int y, int mes, int r, int g, int b);

#ifdef __cplusplus
}
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?