8#ifndef META_OCEAN_RENDERING_GI_PERSPECTIVE_VIEW_H
9#define META_OCEAN_RENDERING_GI_PERSPECTIVE_VIEW_H
static constexpr Scalar deg2rad(const Scalar deg)
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.
GIPerspectiveView()
Creates a new perspective view.
friend class GIFactory
Definition GIPerspectiveView.h:35
Scalar fovX() const override
Returns the horizontal field of view in radian.
Scalar viewFovX
Horizontal field of view in radian.
Definition GIPerspectiveView.h:77
~GIPerspectiveView() override
Destructs a perspective view.
bool setFovX(const Scalar fovx) override
Sets the horizontal field of view in radian.
void calculateProjectionMatrix() override
(Re-)calculates the view projection matrix.
GIView()
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
float Scalar
Definition of a scalar type.
Definition Math.h:129
Namespace of the Rendering Global Illumination library.
Definition GIAttribute.h:23
Namespace of the Rendering library.
Definition AbsoluteTransform.h:18
The namespace covering the entire Ocean framework.
Definition Accessor.h:15