Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
822 B

  1. /******************************Module*Header*******************************\
  2. * Module Name: global.h
  3. *
  4. * Global declarations and constants.
  5. *
  6. * Created: 09-Mar-1995 15:16:47
  7. * Author: Gilman Wong [gilmanw]
  8. *
  9. * Copyright (c) 1995 Microsoft Corporation
  10. *
  11. \**************************************************************************/
  12. #include "gl/gl.h"
  13. #include "gl/glu.h"
  14. #include "scene.h"
  15. #ifndef _GLOBAL_H_
  16. #define _GLOBAL_H_
  17. // ListBox functions.
  18. extern void LBprintf(PCH, ...);
  19. extern void LBreset(void);
  20. // Global window handles. Always handy to have around.
  21. extern HINSTANCE ghInstance;
  22. extern HWND hwndMain;
  23. extern HWND hwndList;
  24. extern CHAR lpstrFile[];
  25. // Internal math routines.
  26. #define ZERO_EPS (GLfloat) 0.00000001
  27. extern void calcNorm(GLfloat *norm, GLfloat *p1, GLfloat *p2, GLfloat *p3);
  28. #endif