source: trunk/src/video.h @ 209

Last change on this file since 209 was 209, checked in by sam, 10 years ago

Implement Video::SetFov() to allow conic projection.

  • Property svn:keywords set to Id
File size: 515 bytes
Line 
1//
2// Deus Hax (working title)
3// Copyright (c) 2010 Sam Hocevar <sam@hocevar.net>
4//
5
6//
7// The Video interface
8// -------------------
9// Helper GL functions to set up the scene.
10//
11
12#if !defined __DH_VIDEO_H__
13#define __DH_VIDEO_H__
14
15#include <stdint.h>
16
17class Video
18{
19public:
20    static void Setup(int width, int height);
21    static void SetFov(float theta);
22    static void Clear();
23    static void Capture(uint32_t *buffer);
24    static int GetWidth();
25    static int GetHeight();
26};
27
28#endif // __DH_VIDEO_H__
29
Note: See TracBrowser for help on using the repository browser.