diff options
Diffstat (limited to 'src/core/core-components/qcameralens.h')
-rw-r--r-- | src/core/core-components/qcameralens.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/core-components/qcameralens.h b/src/core/core-components/qcameralens.h index 8e1c69fed..54742ef26 100644 --- a/src/core/core-components/qcameralens.h +++ b/src/core/core-components/qcameralens.h @@ -71,7 +71,8 @@ public: enum ProjectionType { OrthogonalProjection, - PerspectiveProjection + PerspectiveProjection, + FrustumProjection }; void setProjectionType(ProjectionType projectionType); @@ -107,6 +108,10 @@ public: float bottom, float top, float nearPlane, float farPlane); + void setFrustumProjection(float left, float right, + float bottom, float top, + float nearPlane, float farPlane); + void setPerspectiveProjection(float fieldOfView, float aspect, float nearPlane, float farPlane); |