3 #include "renderer/cameras/camera.h" A camera with perspective projection, useful for 3D stuff.
Definition: perspective_camera.h:13
A camera through which the scene is rendered.
Definition: camera.h:13
void SetFovDegrees(float fov_in_degrees)
Sets the field of view for the camera in degrees.
Definition: perspective_camera.cc:29
float fov_in_radians_
The field of view of the camera in radians.
Definition: perspective_camera.h:41
void SetFovRadians(float fov_in_radians)
Sets the field of view for the camera in radians.
Definition: perspective_camera.cc:22
void UpdateProjectionMatrix() override
(Re)-calculates the projection matrix of the camera.
Definition: perspective_camera.cc:48
The main Blowbox namespace.
Definition: image.cc:8
float GetFOVDegrees() const
Definition: perspective_camera.cc:42
float GetFOVRadians() const
Definition: perspective_camera.cc:36