#include <GL/glx.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <X11/keysym.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <stdio.h>
Go to the source code of this file.
#define SWAPBUFFERS glXSwapBuffers(dpy, glwin) |
GLvoid drawScene |
( |
GLvoid |
| ) |
|
GLvoid initializeGL |
( |
GLsizei |
width, |
|
|
GLsizei |
height |
|
) |
| |
void main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
void polarView |
( |
GLdouble |
radius, |
|
|
GLdouble |
twist, |
|
|
GLdouble |
latitude, |
|
|
GLdouble |
longitude |
|
) |
| |
GLvoid resize |
( |
GLsizei |
width, |
|
|
GLsizei |
height |
|
) |
| |
static Bool WaitForMapNotify |
( |
Display * |
d, |
|
|
XEvent * |
e, |
|
|
char * |
arg |
|
) |
| |
|
static |
int attributes[] = {GLX_RGBA, GLX_RED_SIZE, 8, GLX_GREEN_SIZE, 8, GLX_BLUE_SIZE, 8, GLX_DEPTH_SIZE, 1, 0} |
|
static |