source: trunk/src/eglapp.h @ 1082

Last change on this file since 1082 was 863, checked in by sam, 9 years ago

core: rename vec2i to ivec2 etc. to better match GLSL.

  • Property svn:keywords set to Id
File size: 709 bytes
RevLine 
[682]1//
2// Lol Engine
3//
4// Copyright: (c) 2010-2011 Sam Hocevar <sam@hocevar.net>
5//   This program is free software; you can redistribute it and/or
6//   modify it under the terms of the Do What The Fuck You Want To
7//   Public License, Version 2, as published by Sam Hocevar. See
8//   http://sam.zoy.org/projects/COPYING.WTFPL for more details.
9//
10
11//
12// The EglApp class
13// ----------------
14//
15
[748]16#if !defined __LOL_EGLAPP_H__
17#define __LOL_EGLAPP_H__
[682]18
19#include "matrix.h"
20
[686]21namespace lol
22{
23
[682]24class EglAppData;
25
26class EglApp
27{
28public:
[863]29    EglApp(char const *title, ivec2 res, float fps);
[682]30    virtual ~EglApp();
31
32    void Run();
33
34private:
35    EglAppData *data;
36};
37
[686]38} /* namespace lol */
39
[748]40#endif // __LOL_EGLAPP_H__
[682]41
Note: See TracBrowser for help on using the repository browser.