Last change
on this file since 3161 was
2963,
checked in by bensch, 20 years ago
|
orxonox/trunk/importer: rotation now with quaternion, BIG fix in the mathematics of my quaternion-calculation
|
File size:
537 bytes
|
Line | |
---|
1 | #ifndef _FRAMEWORK_H |
---|
2 | #define _FRAMEWORK_H |
---|
3 | |
---|
4 | #include "windowHandler.h" // Include the Whandler Basecode |
---|
5 | #include "object.h" |
---|
6 | #include "vector.h" |
---|
7 | |
---|
8 | float rotatorP; |
---|
9 | float rotatorV; |
---|
10 | |
---|
11 | float dist; |
---|
12 | float zoomTo; |
---|
13 | |
---|
14 | Uint32 lastFrame; |
---|
15 | Uint32 currFrame; |
---|
16 | Uint32 dt; |
---|
17 | |
---|
18 | |
---|
19 | Vector dir; |
---|
20 | Vector up; |
---|
21 | |
---|
22 | float matQ[4][4]; |
---|
23 | |
---|
24 | Vector M; |
---|
25 | Vector p1; |
---|
26 | Vector p2; |
---|
27 | Vector rotAxis; |
---|
28 | float rotAngle; |
---|
29 | Quaternion rotQ; |
---|
30 | Quaternion rotQlast; |
---|
31 | |
---|
32 | bool mouse1Down; |
---|
33 | |
---|
34 | WindowHandler wHandler; // Create an instance of the whandler basecode class |
---|
35 | Object* obj; |
---|
36 | |
---|
37 | |
---|
38 | #endif /* _FRAMEWORK_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.