Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/physics/src/subprojects/particles/framework.h @ 4297

Last change on this file since 4297 was 4297, checked in by bensch, 19 years ago

orxonox/branches/physics: framework is a class now

File size: 712 bytes
Line 
1#ifndef _FRAMEWORK_H
2#define _FRAMEWORK_H
3 
4#include "vector.h"
5#include "glincl.h"
6
7
8#define DATA_DIRECTORY "~/svn/data/"
9
10class Camera;
11
12class Framework {
13 private:
14  Camera* camera;
15  float rotatorP;
16  float rotatorV;
17 
18  float dist;
19  float zoomTo;
20 
21  Uint32 lastFrame;
22  Uint32 currFrame;
23 
24  Vector dir;
25  Vector up;
26 
27  float matQ[4][4];
28 
29  Vector M;
30  Vector p1;
31  Vector p2;
32  Vector rotAxis;
33  float rotAngle;
34  Quaternion rotQ;
35  Quaternion rotQlast;
36 
37  Uint8* keys; // This variable will be used in the keyboard routine
38  bool mouse1Down;
39
40 public:
41  Framework();
42  ~Framework();
43 
44  bool mainLoop();
45  bool draw(float dt);
46  float tick();
47  bool keyHandler();
48};
49#endif /* _FRAMEWORK_H */
Note: See TracBrowser for help on using the repository browser.