1#ifndef OE_SCENE_CAMERA_PROJECTIONS_H
2#define OE_SCENE_CAMERA_PROJECTIONS_H
5#include <glm/mat4x4.hpp>
7#include "../util/angle.h"
14 { t.getProjectionMatrix() } -> std::same_as<glm::mat4>;
Definition camera_projections.h:12
Scene related management (Render-agnostic Geometry, Manger, etc...).
Definition debug.h:19
Special case of perspective projection where you need to provide frustum extents.
Definition camera_projections.h:60
float left
Left frustum plane distance.
Definition camera_projections.h:69
float near
Near place distance.
Definition camera_projections.h:91
float far
Far place distance.
Definition camera_projections.h:98
glm::mat4 getProjectionMatrix() const noexcept
Return a projection matrix computed from the settings.
float right
Right frustum plane distance.
Definition camera_projections.h:74
float bottom
Bottom frustum plane distance.
Definition camera_projections.h:79
float top
Top frustum plane distance.
Definition camera_projections.h:84
Non realistic projection where all objects lines are orthogonal to the projection plane giving the id...
Definition camera_projections.h:108
float right
Right frustum plane distance.
Definition camera_projections.h:122
float bottom
Bottom frustum plane distance.
Definition camera_projections.h:127
float near
Near place distance.
Definition camera_projections.h:139
float left
Left frustum plane distance.
Definition camera_projections.h:117
float far
Far place distance.
Definition camera_projections.h:146
glm::mat4 getProjectionMatrix() const noexcept
Return a projection matrix computed from the settings.
float top
Top frustum plane distance.
Definition camera_projections.h:132
Realistic projection where distant objects appear smaller than closer objects.
Definition camera_projections.h:21
float near
Near place distance.
Definition camera_projections.h:44
float far
Far place distance.
Definition camera_projections.h:51
glm::mat4 getProjectionMatrix() const noexcept
Return a projection matrix computed from the settings.
lit::Angle fov
Field of view.
Definition camera_projections.h:30
float aspect_ratio
Screen/Buffer ratio.
Definition camera_projections.h:37