Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/importer/framework.h @ 3147

Last change on this file since 3147 was 2963, checked in by bensch, 20 years ago

orxonox/trunk/importer: rotation now with quaternion, BIG BUG 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
8float rotatorP;
9float rotatorV;
10
11float dist;
12float zoomTo;
13
14Uint32 lastFrame;
15Uint32 currFrame;
16Uint32 dt;
17
18
19Vector dir;
20Vector up;
21
22float matQ[4][4];
23
24Vector M;
25Vector p1;
26Vector p2;
27Vector rotAxis;
28float rotAngle;
29Quaternion rotQ;
30Quaternion rotQlast;
31
32bool mouse1Down;
33
34WindowHandler wHandler;  // Create an instance of the whandler basecode class
35Object* obj;
36
37
38#endif /* _FRAMEWORK_H */
Note: See TracBrowser for help on using the repository browser.