8#ifndef META_OCEAN_RENDERING_GLES_PERSPECTIVE_VIEW_H
9#define META_OCEAN_RENDERING_GLES_PERSPECTIVE_VIEW_H
static constexpr Scalar deg2rad(const Scalar deg)
friend class GLESFactory
Definition GLESPerspectiveView.h:35
Scalar fovX_
The view's horizontal field of view in radian, with range (0, PI).
Definition GLESPerspectiveView.h:84
Scalar fovX() const override
Returns the horizontal field of view in radian.
GLESPerspectiveView()
Creates a new perspective view.
~GLESPerspectiveView() override
Destructs a perspective view.
bool calculateProjectionMatrix() override
(Re-)calculates the view projection matrix.
Line3 viewingRay(const Scalar x, const Scalar y, const unsigned int width, const unsigned int height) const override
Returns a viewing ray into the scene.
bool setFovX(const Scalar fovx) override
Sets the horizontal field of view in radian.
void setProjectionMatrix(const SquareMatrix4 &clip_T_view) override
Sets the projection matrix explicitly.
GLESView()
Creates a new view object.
PerspectiveView()
Creates a new perspective view object.
LineT3< Scalar > Line3
Definition of the Line3 object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION either with single o...
Definition Line3.h:27
SquareMatrixT4< Scalar > SquareMatrix4
Definition of the SquareMatrix4 object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION either with ...
Definition SquareMatrix4.h:39
float Scalar
Definition of a scalar type.
Definition Math.h:129
Namespace of the Rendering GLESceneGraph library.
Definition rendering/glescenegraph/android/Android.h:20
Namespace of the Rendering library.
Definition AbsoluteTransform.h:18
The namespace covering the entire Ocean framework.
Definition Accessor.h:15