summaryrefslogtreecommitdiffhomepage
path: root/Stars45/TrackIR.h
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/TrackIR.h')
-rw-r--r--Stars45/TrackIR.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/Stars45/TrackIR.h b/Stars45/TrackIR.h
index 0545a14..560e1f8 100644
--- a/Stars45/TrackIR.h
+++ b/Stars45/TrackIR.h
@@ -1,15 +1,15 @@
/* Project Starshatter 4.6
- Destroyer Studios LLC
- Copyright © 1997-2006. All Rights Reserved.
+ Destroyer Studios LLC
+ Copyright © 1997-2006. All Rights Reserved.
- SUBSYSTEM: Stars.exe
- FILE: TrackIR.h
- AUTHOR: John DiCamillo
+ SUBSYSTEM: Stars.exe
+ FILE: TrackIR.h
+ AUTHOR: John DiCamillo
- OVERVIEW
- ========
- TrackIR head tracker interface class
+ OVERVIEW
+ ========
+ TrackIR head tracker interface class
*/
#ifndef TrackIR_h
@@ -22,31 +22,31 @@
class TrackIR
{
public:
- TrackIR();
- ~TrackIR();
+ TrackIR();
+ ~TrackIR();
- DWORD ExecFrame();
+ DWORD ExecFrame();
- bool IsRunning() const { return running; }
- double GetAzimuth() const { return az; }
- double GetElevation() const { return el; }
+ bool IsRunning() const { return running; }
+ double GetAzimuth() const { return az; }
+ double GetElevation() const { return el; }
- double GetX() const { return x; }
- double GetY() const { return y; }
- double GetZ() const { return z; }
+ double GetX() const { return x; }
+ double GetY() const { return y; }
+ double GetZ() const { return z; }
protected:
- bool running;
- DWORD stale_frames;
- DWORD frame_signature;
+ bool running;
+ DWORD stale_frames;
+ DWORD frame_signature;
- double az;
- double el;
+ double az;
+ double el;
- double x; // vrt
- double y; // vup
- double z; // vpn (i think)
+ double x; // vrt
+ double y; // vup
+ double z; // vpn (i think)
};
#endif TrackIR_h