Last change
on this file since 4293 was
4293,
checked in by bensch, 19 years ago
|
orxonox/branches/physics: intoducing state: stors the Camera position globally somewhere we have to store this data
|
File size:
502 bytes
|
Line | |
---|
1 | #ifndef _FRAMEWORK_H |
---|
2 | #define _FRAMEWORK_H |
---|
3 | |
---|
4 | #include "vector.h" |
---|
5 | #include "glincl.h" |
---|
6 | |
---|
7 | float rotatorP; |
---|
8 | float rotatorV; |
---|
9 | |
---|
10 | float dist; |
---|
11 | float zoomTo; |
---|
12 | |
---|
13 | Uint32 lastFrame; |
---|
14 | Uint32 currFrame; |
---|
15 | |
---|
16 | Vector dir; |
---|
17 | Vector up; |
---|
18 | |
---|
19 | float matQ[4][4]; |
---|
20 | |
---|
21 | Vector M; |
---|
22 | Vector p1; |
---|
23 | Vector p2; |
---|
24 | Vector rotAxis; |
---|
25 | float rotAngle; |
---|
26 | Quaternion rotQ; |
---|
27 | Quaternion rotQlast; |
---|
28 | |
---|
29 | Uint8* keys; // This variable will be used in the keyboard routine |
---|
30 | bool mouse1Down; |
---|
31 | |
---|
32 | bool mainLoop(); |
---|
33 | bool draw(); |
---|
34 | bool tick(); |
---|
35 | bool keyHandler(); |
---|
36 | |
---|
37 | #endif /* _FRAMEWORK_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.