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
glm::mat4 getProjectionMatrix() const noexcept
Return a projection matrix computed from the settings.
Non realistic projection where all objects lines are orthogonal to the projection plane giving the id...
Definition camera_projections.h:108
glm::mat4 getProjectionMatrix() const noexcept
Return a projection matrix computed from the settings.
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