]> git.jsancho.org Git - lugaru.git/blob - Source/Stereo.h
084a9f4de56313bdca719e2303a1f245fc30edee
[lugaru.git] / Source / Stereo.h
1
2 #ifndef STEREO_H_
3 #define STEREO_H_
4
5 enum StereoMode {
6         stereoNone,
7         stereoAnaglyph,             /* red/cyan */
8         stereoHorizontalInterlaced, /* some 3D monitors */
9         stereoVerticalInterlaced,
10         stereoHorizontalSplit,      /* cross-eyed view */
11         stereoVerticalSplit,
12         stereoOpenGL,               /* Whatever OpenGL does, if supported */
13         stereoCount                 /* must be last element */
14 };
15
16
17 enum StereoSide {
18         // Code multiplies by StereoSide to calculate camera offsets
19         stereoLeft   = -1,
20         stereoCenter = 0,
21         stereoRight  = 1
22 };
23
24 extern StereoMode stereomode;
25 extern float stereoseparation;
26 extern bool  stereoreverse;
27
28 #endif