From 5ef1fc5b5db38a0abaa21b027b3c24b4390e1264 Mon Sep 17 00:00:00 2001 From: Yoonsang Lee Date: Thu, 17 Nov 2016 08:57:05 +0900 Subject: [PATCH] [3.0] Update command-line string & comment for view mode to make clearer code - STEREO_HORZ -> STEREO_HORIZONTAL - STEREO_VERT -> STEREO_VERTICAL Change-Id: I8bbdb30030308d0d893256941b4dcf1f991816ae --- adaptors/common/command-line-options.cpp | 2 +- adaptors/common/command-line-options.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/adaptors/common/command-line-options.cpp b/adaptors/common/command-line-options.cpp index 921314a..fd4b293 100644 --- a/adaptors/common/command-line-options.cpp +++ b/adaptors/common/command-line-options.cpp @@ -60,7 +60,7 @@ Argument EXPECTED_ARGS[] = { "width", "Stage Width" }, { "height", "Stage Height" }, { "dpi", "Emulated DPI" }, - { "view", "Stereocopic 3D view mode ([0]=MONO, 1=STEREO_HORZ, 2=STEREO_VERT, 3=STEREO_INTERLACED)" }, + { "view", "Stereocopic 3D view mode ([0]=MONO, 1=STEREO_HORIZONTAL, 2=STEREO_VERTICAL, 3=STEREO_INTERLACED)" }, { "stereo-base", "Distance in millimeters between left/right cameras [65.0]" }, { "help", "Help" }, { NULL, NULL } diff --git a/adaptors/common/command-line-options.h b/adaptors/common/command-line-options.h index 9067dc1..d87781e 100644 --- a/adaptors/common/command-line-options.h +++ b/adaptors/common/command-line-options.h @@ -70,7 +70,7 @@ public: // Command line parsed values int noVSyncOnRender; ///< If 1, then the user does not want VSync on Render int stageWidth; ///< The width of the stage required. 0 if not set. int stageHeight; ///< The height of the stage required. 0 if not set. - int viewMode; ///< Stereocopic 3D view mode (0=MONO, 1=STEREO_HORZ, 2=STEREO_VERT, 3=STEREO_INTERLACED) + int viewMode; ///< Stereocopic 3D view mode (0=MONO, 1=STEREO_HORIZONTAL, 2=STEREO_VERTICAL, 3=STEREO_INTERLACED) int stereoBase; ///< The distance in millimeters between left/right cameras std::string stageDPI; ///< DPI stored as hxv, where h is horizontal DPI and v is vertical DPI }; -- 2.7.4