diff options
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
|