Assorted whitespace cleanup and typo fixes.
[haiku.git] / src / libs / glut / glutbitmap.h
blob830046f40b2c78eb93443a321f0ab16bd4e618b9
1 /*
2 * Copyright 1994-1997 Mark Kilgard, All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Mark Kilgard
7 */
8 #ifndef __glutbitmap_h__
9 #define __glutbitmap_h__
12 #include <GL/glut.h>
15 typedef struct {
16 const GLsizei width;
17 const GLsizei height;
18 const GLfloat xorig;
19 const GLfloat yorig;
20 const GLfloat advance;
21 const GLubyte *bitmap;
22 } BitmapCharRec, *BitmapCharPtr;
24 typedef struct {
25 const char *name;
26 const int num_chars;
27 const int first;
28 const BitmapCharRec * const *ch;
29 } BitmapFontRec, *BitmapFontPtr;
31 typedef void *GLUTbitmapFont;
34 #endif /* __glutbitmap_h__ */