diff options
| author | Dmitry Duka <[email protected]> | 2017-10-31 14:34:10 +0300 |
|---|---|---|
| committer | Dmitry Duka <[email protected]> | 2017-10-31 14:34:10 +0300 |
| commit | 4bc8034acac37e8493a5d166d9573543da149f94 (patch) | |
| tree | 41059b185be6a1d65b13cc2240055fee26a17205 /include/ansel/Camera.h | |
| parent | Updating Ansel SDK to the latest revision (diff) | |
| download | anselsdk-4bc8034acac37e8493a5d166d9573543da149f94.tar.xz anselsdk-4bc8034acac37e8493a5d166d9573543da149f94.zip | |
Updating Ansel SDK to v1.5v1.5.371
Diffstat (limited to 'include/ansel/Camera.h')
| -rw-r--r-- | include/ansel/Camera.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ansel/Camera.h b/include/ansel/Camera.h index 5741af2..130a742 100644 --- a/include/ansel/Camera.h +++ b/include/ansel/Camera.h @@ -47,6 +47,10 @@ namespace ansel // applied directly as translations to the projection matrix. These values are only
// non-zero during Highres capture.
float projectionOffsetX, projectionOffsetY;
+ // Values of the near and far planes
+ float nearPlane, farPlane;
+ // Projection matrix aspect ratio
+ float aspectRatio;
};
// Must be called on every frame an Ansel session is active. The 'camera' must contain
|