12#ifndef CSCI441_FIXED_CAM_HPP
13#define CSCI441_FIXED_CAM_HPP
15#include "PerspectiveCamera.hpp"
34 explicit FixedCam(GLfloat aspectRatio = 1.0f, GLfloat fovy = 45.0f, GLfloat nearClipPlane = 0.001f, GLfloat farClipPlane = 1000.0f);
79 const GLfloat aspectRatio,
81 const GLfloat nearClipPlane,
82 const GLfloat farClipPlane
A camera that can be positioned and oriented but never moved or rotated.
Definition: FixedCam.hpp:24
void moveForward(const GLfloat unused) override
does nothing
Definition: FixedCam.hpp:69
FixedCam(FixedCam &&)=default
construct a camera by moving ane existing camera object
void recomputeOrientation() override
does nothing
Definition: FixedCam.hpp:64
void moveBackward(const GLfloat unused) override
does nothing
Definition: FixedCam.hpp:74
FixedCam & operator=(FixedCam &&)=default
reassign an existing camera to ourselves
FixedCam & operator=(const FixedCam &)=default
assign a copy of an existing camera
~FixedCam() override=default
properly destroy concrete children
FixedCam(const FixedCam &)=default
construct a copy an existing camera
FixedCam(GLfloat aspectRatio=1.0f, GLfloat fovy=45.0f, GLfloat nearClipPlane=0.001f, GLfloat farClipPlane=1000.0f)
Definition: FixedCam.hpp:78
Abstract Class to represent a perspective camera. Stores aspect ratio and field of view.
Definition: PerspectiveCamera.hpp:11
CSCI441 Helper Functions for OpenGL.
Definition: ArcballCam.hpp:17