VOX
A little voxel engine
Loading...
Searching...
No Matches
Camera Class Reference

A simple camera class. More...

#include <Camera.hpp>

Collaboration diagram for Camera:
Collaboration graph

Classes

struct  RenderInfo
 

Public Member Functions

 Camera ()=default
 
 ~Camera ()=default
 
 Camera (const glm::dvec3 &position, double pitch, double yaw, double far_plane)
 
 Camera (const Camera &camera)
 
Cameraoperator= (const Camera &camera)
 
 Camera (Camera &&camera)
 
Cameraoperator= (Camera &&camera)
 
RenderInfo getRenderInfo (double aspect_ratio) const
 

Detailed Description

A simple camera class.

Constructor & Destructor Documentation

◆ Camera() [1/4]

Camera::Camera ( )
default

◆ ~Camera()

Camera::~Camera ( )
default

◆ Camera() [2/4]

Camera::Camera ( const glm::dvec3 &  position,
double  pitch,
double  yaw,
double  far_plane 
)
inline

◆ Camera() [3/4]

Camera::Camera ( const Camera camera)
inline

◆ Camera() [4/4]

Camera::Camera ( Camera &&  camera)
inline

Member Function Documentation

◆ getRenderInfo()

RenderInfo Camera::getRenderInfo ( double  aspect_ratio) const
inline

◆ operator=() [1/2]

Camera & Camera::operator= ( Camera &&  camera)
inline

◆ operator=() [2/2]

Camera & Camera::operator= ( const Camera camera)
inline

The documentation for this class was generated from the following files: