24 #include <flw/cmn/scene/ICamera.h> 34 GLfloat mProjectionFovy;
35 GLfloat mProjectionAspectRatio;
36 GLfloat mProjectionNearPlane;
37 GLfloat mProjectionFarPlane;
44 GLfloat fovy = glm::radians(90.0f),
45 GLfloat aspectRatio = 1.0f,
46 GLfloat nearPlane = 0.01f,
47 GLfloat farPlane = 100.0f);
49 GLfloat getProjectionFovy()
const;
51 GLfloat getProjectionAspectRatio()
const;
53 GLfloat getProjectionNearPlane()
const override;
55 GLfloat getProjectionFarPlane()
const override;
57 void updateProjection()
override;
59 void setProjectionFovy(GLfloat fovy);
61 void setProjectionAspectRatio(GLfloat aspect);
63 void setProjectionNearPlane(GLfloat nearPlane);
65 void setProjectionFarPlane(GLfloat farPlane);
Camera with perspective projection.
Definition: CameraPerspective.h:32
Stores camera view parameters.
Definition: ICamera.h:32