aboutsummaryrefslogtreecommitdiff
path: root/include/ansel/Camera.h
diff options
context:
space:
mode:
authorDmitry Duka <[email protected]>2017-10-31 14:34:10 +0300
committerDmitry Duka <[email protected]>2017-10-31 14:34:10 +0300
commit4bc8034acac37e8493a5d166d9573543da149f94 (patch)
tree41059b185be6a1d65b13cc2240055fee26a17205 /include/ansel/Camera.h
parentUpdating Ansel SDK to the latest revision (diff)
downloadanselsdk-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.h4
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