File: 3dtest.h

package info (click to toggle)
devil 1.6.7-5%2Betch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 11,536 kB
  • ctags: 7,441
  • sloc: ansic: 35,573; sh: 8,075; cpp: 7,465; pascal: 792; makefile: 399; python: 47
file content (25 lines) | stat: -rw-r--r-- 558 bytes parent folder | download | duplicates (10)
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
#ifndef TEST3D_H
#define TEST3D_H

#define MAX_X 640
#define MAX_Y 480

void DisplayFunc(void);
void CleanUp(void);
void ExitClean(void);
void ResizeFunc(int NewWidth, int NewHeight);
void IdleFunc(void);
void KeyboardFunc(unsigned char cChar, int nMouseX, int nMouseY);
void KeySpecialFunc(int Key, int x, int y);
void SetPerspective(float Fov);
ILboolean Setup(void);
ILboolean GenSides(void);

ILboolean bCleaned = IL_FALSE;

GLuint	TexID1 = 0, TexID2 = 0, TexID3 = 0, TexID4 = 0;
ILuint	ImgId;

float	Angle = 0.0, TransFactor = -470.0;

#endif//TEST3D_H