|
Oxygen Engine
Modern C++ 3D Engine using OpenGL
|
Non realistic projection where all objects lines are orthogonal to the projection plane giving the idea that all faces are at the same distance to the viewer. 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. | |
Non realistic projection where all objects lines are orthogonal to the projection plane giving the idea that all faces are at the same distance to the viewer.
| float oe::scene::OrthographicProjection::far |
Far place distance.
Objects further than this distance won't be rendered
| float oe::scene::OrthographicProjection::near |
Near place distance.
Objects closer than this distance won't be rendered