1
/* glschool_gl.h, Copyright (c) 2005-2006 David C. Lambert <dcl@panix.com>
3
* Permission to use, copy, modify, distribute, and sell this software and its
4
* documentation for any purpose is hereby granted without fee, provided that
5
* the above copyright notice appear in all copies and that both that
6
* copyright notice and this permission notice appear in supporting
7
* documentation. No representations are made about the suitability of this
8
* software for any purpose. It is provided "as is" without express or
11
#ifndef __GLSCHOOL_GL_H__
12
#define __GLSCHOOL_GL_H__
16
# include <OpenGL/gl.h>
17
# include <OpenGL/glu.h>
19
# include <X11/Xlib.h>
24
#include "glschool_alg.h"
26
extern void initFog(void);
27
extern void initGLEnv(Bool);
28
extern void initLights(void);
29
extern void reshape(int, int);
30
extern void drawGoal(double *, GLuint);
31
extern void getColorVect(XColor *, int, double *);
32
extern void drawBoundingBox(BBox *, Bool);
33
extern void createBBoxList(BBox *, GLuint *, int);
34
extern void createDrawLists(BBox *, GLuint *, GLuint *, GLuint *, Bool);
35
extern void drawSchool(XColor *, School *, GLuint, GLuint, GLuint, int, Bool, Bool);
37
#endif /* __GLSCHOOL_GL_H__ */