![]() |
Jopnal Engine
alpha 0.4
Simple Component Based 2D/3D Game Engine
|
#include <Camera.hpp>
Public Attributes | |
struct { | |
float sizeX | |
Orthographic projection width. More... | |
float sizeY | |
Orthographic projection height. More... | |
} | orthographic |
struct { | |
float fov | |
The vertical field of view in radians. More... | |
float aspectRatio | |
The aspect ratio. More... | |
} | perspective |
Union with the projection data
Definition at line 52 of file Camera.hpp.
float jop::Camera::ProjectionData::aspectRatio |
The aspect ratio.
Definition at line 63 of file Camera.hpp.
float jop::Camera::ProjectionData::fov |
The vertical field of view in radians.
Definition at line 62 of file Camera.hpp.
struct { ... } jop::Camera::ProjectionData::orthographic |
struct { ... } jop::Camera::ProjectionData::perspective |
float jop::Camera::ProjectionData::sizeX |
Orthographic projection width.
Definition at line 56 of file Camera.hpp.
float jop::Camera::ProjectionData::sizeY |
Orthographic projection height.
Definition at line 57 of file Camera.hpp.