Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

31 строка
551 B

  1. //
  2. // Deus Hax (working title)
  3. // Copyright (c) 2010 Sam Hocevar <sam@hocevar.net>
  4. //
  5. //
  6. // The Video interface
  7. // -------------------
  8. // Helper GL functions to set up the scene.
  9. //
  10. #if !defined __DH_VIDEO_H__
  11. #define __DH_VIDEO_H__
  12. #include <stdint.h>
  13. class Video
  14. {
  15. public:
  16. static void Setup(int width, int height);
  17. static void SetFov(float theta);
  18. static void SetDepth(bool set);
  19. static void Clear();
  20. static void Capture(uint32_t *buffer);
  21. static int GetWidth();
  22. static int GetHeight();
  23. };
  24. #endif // __DH_VIDEO_H__