3dtest.h
Upload User: wmy0603
Upload Date: 2022-05-02
Package Size: 1808k
Code Size: 1k
Development Platform:

Visual C++

  1. #ifndef TEST3D_H
  2. #define TEST3D_H
  3. #define MAX_X 640
  4. #define MAX_Y 480
  5. void DisplayFunc(void);
  6. void CleanUp(void);
  7. void ExitClean(void);
  8. void ResizeFunc(int NewWidth, int NewHeight);
  9. void IdleFunc(void);
  10. void KeyboardFunc(unsigned char cChar, int nMouseX, int nMouseY);
  11. void KeySpecialFunc(int Key, int x, int y);
  12. void SetPerspective(float Fov);
  13. ILboolean Setup(void);
  14. ILboolean GenSides(void);
  15. ILboolean bCleaned = IL_FALSE;
  16. GLuint TexID1 = 0, TexID2 = 0, TexID3 = 0, TexID4 = 0;
  17. ILuint ImgId;
  18. float Angle = 0.0, TransFactor = -470.0;
  19. #endif//TEST3D_H