Oxygen Engine
Modern C++ 3D Engine using OpenGL
|
Special case of perspective projection where you need to provide frustum extents. More...
#include <OxygenEngine/scene/camera_projections.h>
Public Member Functions | |
glm::mat4 | getProjectionMatrix () const noexcept |
Return a projection matrix computed from the settings. | |
Public Attributes | |
float | left |
Left frustum plane distance. | |
float | right |
Right frustum plane distance. | |
float | bottom |
Bottom frustum plane distance. | |
float | top |
Top frustum plane distance. | |
float | near |
Near place distance. | |
float | far |
Far place distance. | |
Special case of perspective projection where you need to provide frustum extents.
float oe::scene::FrustumProjection::far |
Far place distance.
Objects further than this distance won't be rendered
float oe::scene::FrustumProjection::near |
Near place distance.
Objects closer than this distance won't be rendered