12#ifndef PERSPECTIVECONTROL_H_6014714286
13#define PERSPECTIVECONTROL_H_6014714286
15#include <Carna/Carna.h>
46 const std::unique_ptr< Details > pimpl;
Defines Carna::base::ProjectionControl.
Controls projection matrices.
Controls projection matrices that induce frustum-shaped visible volume.
PerspectiveControl()
Instantiates.
virtual void updateProjection(base::math::Matrix4f &perspectiveProjection) const override
Creates perspectiveProjection matrix using base::math::frustum4f.
float fovHorizontal() const
Tells the half angle between the left and the right frustum planes.
static const float DEFAULT_FOV_HORIZONTAL
Holds the default half angle betwen the left and the right frustum planes.
virtual ~PerspectiveControl()
Deletes.
void setFovHorizontal(float radians)
Sets the half angle between the left and the right frustum planes.
Eigen::Matrix< float, 4, 4, Eigen::ColMajor > Matrix4f
Defines matrix.
#define NON_COPYABLE
Features class it is placed in as non-copyable.