-
Notifications
You must be signed in to change notification settings - Fork 0
/
visuals.h
45 lines (24 loc) · 1.15 KB
/
visuals.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//-------- Functions --------------------------------
void Render();
// The function responsible for drawing everything in the
// OpenGL context associated to a window.
void Resize(int w, int h);
// Handle the window size changes and define the world coordinate
// system and projection type
void Setup();
// Set up the OpenGL state machine and create a light source
void Idle();
void DrawCircle(float cx, float cy, float r, int num_segments) ;
void DrawCircleBorder(float cx, float cy, float r, int num_segments) ;
void DrawSemiCircleBorder(float cx, float cy, float r, int num_segments) ;
void DrawEllipsoidBorder(float width,float height);
void DrawFilledEllipsoid(float width,float height);
void DrawMainCube(float width,float height);
void DrawArc(float cx, float cy, float r, float start_angle, float arc_angle, int num_segments);
void DrawSemiCircleFilled(float cx, float cy, float r, int num_segments);
void drawSeats(int number);
void drawHorse(float radiusFromTrackCenter);
void processSpecialKeys(int key, int xx, int yy);
void processNormalKeys(unsigned char key, int x, int y) ;
void processSpecialKeys(int key, int x, int y) ;
void axes();