]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Graphic/Stereo.hpp
clang-format: Apply to all headers
[lugaru.git] / Source / Graphic / Stereo.hpp
index e93d1130aa2e42dddf14cfb69bf977a898f49613..a6c97c27d5b71fb7482a61cf4a8476e577d7dcf7 100644 (file)
@@ -1,6 +1,6 @@
 /*
 Copyright (C) 2003, 2010 - Wolfire Games
-Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file)
+Copyright (C) 2010-2017 - Lugaru contributors (see AUTHORS file)
 
 This file is part of Lugaru.
 
@@ -23,29 +23,30 @@ along with Lugaru.  If not, see <http://www.gnu.org/licenses/>.
 
 #include <string>
 
-enum StereoMode {
+enum StereoMode
+{
     stereoNone,
     stereoAnaglyph,             /* red/cyan */
     stereoHorizontalInterlaced, /* some 3D monitors */
     stereoVerticalInterlaced,
-    stereoHorizontalSplit,      /* cross-eyed view */
+    stereoHorizontalSplit, /* cross-eyed view */
     stereoVerticalSplit,
-    stereoOpenGL,               /* Whatever OpenGL does, if supported */
-    stereoCount                 /* must be last element */
+    stereoOpenGL, /* Whatever OpenGL does, if supported */
+    stereoCount   /* must be last element */
 };
 
-
-enum StereoSide {
+enum StereoSide
+{
     // Code multiplies by StereoSide to calculate camera offsets
-    stereoLeft   = -1,
+    stereoLeft = -1,
     stereoCenter = 0,
-    stereoRight  = 1
+    stereoRight = 1
 };
 
 extern StereoMode stereomode;
 extern StereoMode newstereomode;
 extern float stereoseparation;
-extern bool  stereoreverse;
+extern bool stereoreverse;
 
 bool CanInitStereo(StereoMode mode);
 void InitStereo(StereoMode mode);