glutbitmap.h
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:1k
- /*
- * ===========================================================================
- * PRODUCTION $Log: glutbitmap.h,v $
- * PRODUCTION Revision 1000.0 2003/10/31 21:12:56 gouriano
- * PRODUCTION PRODUCTION: IMPORTED [ORIGINAL] Dev-tree R1.2
- * PRODUCTION
- * ===========================================================================
- */
- #ifndef __glutbitmap_h__
- #define __glutbitmap_h__
- /* Copyright (c) Mark J. Kilgard, 1994, 1998. */
- /* This program is freely distributable without licensing fees
- and is provided without guarantee or warrantee expressed or
- implied. This program is -not- in the public domain. */
- #include <ncbiconf.h>
- #ifdef NCBI_OS_MSWIN
- # include <windows.h>
- #endif
- #ifdef NCBI_OS_DARWIN
- # include <OpenGL/gl.h>
- #else
- # include <GL/gl.h>
- #endif
- typedef struct {
- const GLsizei width;
- const GLsizei height;
- const GLfloat xorig;
- const GLfloat yorig;
- const GLfloat advance;
- const GLubyte *bitmap;
- } BitmapCharRec, *BitmapCharPtr;
- typedef struct {
- const char *name;
- const int num_chars;
- const int first;
- const BitmapCharRec * const *ch;
- } BitmapFontRec, *BitmapFontPtr;
- #endif /* __glutbitmap_h__ */