#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.
◆ BLACK_INDEX
◆ BLUE_INDEX
◆ CONE
◆ CYLINDER
◆ GLOBE
◆ GREEN_INDEX
◆ HEIGHT
◆ RED_INDEX
◆ SWAPBUFFERS
#define SWAPBUFFERS glXSwapBuffers(dpy, glwin) |
◆ WIDTH
◆ createObjects()
◆ drawScene()
GLvoid drawScene |
( |
GLvoid |
| ) |
|
◆ initializeGL()
GLvoid initializeGL |
( |
GLsizei |
width, |
|
|
GLsizei |
height |
|
) |
| |
◆ main()
void main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ polarView()
void polarView |
( |
GLdouble |
radius, |
|
|
GLdouble |
twist, |
|
|
GLdouble |
latitude, |
|
|
GLdouble |
longitude |
|
) |
| |
◆ resize()
GLvoid resize |
( |
GLsizei |
width, |
|
|
GLsizei |
height |
|
) |
| |
◆ WaitForMapNotify()
static Bool WaitForMapNotify |
( |
Display * |
d, |
|
|
XEvent * |
e, |
|
|
char * |
arg |
|
) |
| |
|
static |
◆ attributes
int attributes[] = {GLX_RGBA, GLX_RED_SIZE, 8, GLX_GREEN_SIZE, 8, GLX_BLUE_SIZE, 8, GLX_DEPTH_SIZE, 1, 0} |
|
static |
◆ dpy
◆ glwin
◆ latinc
◆ latitude
◆ longinc
◆ longitude
◆ radius