diff options
| author | Dmitry Duka <[email protected]> | 2017-04-10 17:42:41 +0300 |
|---|---|---|
| committer | Dmitry Duka <[email protected]> | 2017-04-10 17:42:41 +0300 |
| commit | 3e4fb922fbc32d3bde5b5b23094df1c3a011a290 (patch) | |
| tree | 898b1c456fff8ab51bd57e924466775a7f18091f /include/ansel/Session.h | |
| parent | Pulling master to the latest 1.2 (diff) | |
| download | anselsdk-3e4fb922fbc32d3bde5b5b23094df1c3a011a290.tar.xz anselsdk-3e4fb922fbc32d3bde5b5b23094df1c3a011a290.zip | |
Updating Ansel SDK to 1.3
Diffstat (limited to 'include/ansel/Session.h')
| -rw-r--r-- | include/ansel/Session.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ansel/Session.h b/include/ansel/Session.h index 0897045..e9dd9c7 100644 --- a/include/ansel/Session.h +++ b/include/ansel/Session.h @@ -52,6 +52,9 @@ namespace ansel float translationalSpeedInWorldUnitsPerSecond; // The speed at which camera rotates, initialized with a value given in Configuration float rotationalSpeedInDegreesPerSecond; + // The maximum FoV value in degrees displayed in the Ansel UI. + // Any value in the range [140, 179] can be specified and values outside will be clamped to this range. + float maximumFovInDegrees; SessionConfiguration() { @@ -63,6 +66,7 @@ namespace ansel is360MonoAllowed = true; is360StereoAllowed = true; isRawAllowed = true; + maximumFovInDegrees = 140.0f; } }; |