CSCI441 OpenGL Library 5.9.0
CS@Mines CSCI441 Computer Graphics Course Library
Loading...
Searching...
No Matches
HUDCamera.hpp
Go to the documentation of this file.
1
12#ifndef CSCI441_HUD_CAMERA_HPP
13#define CSCI441_HUD_CAMERA_HPP
14
15#include "OrthographicCamera.hpp"
16
17namespace CSCI441 {
18
23 class [[maybe_unused]] HUDCamera final : public CSCI441::OrthographicCamera {
24 public:
25 HUDCamera() = delete;
26
34 [[maybe_unused]] explicit HUDCamera(GLfloat minX, GLfloat maxX, GLfloat minY, GLfloat maxY);
35
39 void recomputeOrientation() final {};
44 void moveForward(const GLfloat unused) final {};
49 void moveBackward(const GLfloat unused) final {};
50 private:
51
52 };
53}
54
55[[maybe_unused]]
56inline CSCI441::HUDCamera::HUDCamera(
57 GLfloat minX,
58 GLfloat maxX,
59 GLfloat minY,
60 GLfloat maxY
61) : OrthographicCamera(minX, maxX, minY, maxY) {
62
63}
64
65#endif//CSCI441_HUD_CAMERA_HPP
creates a 2D Orthographic projection camera used for Heads Up Display overlays
Definition: HUDCamera.hpp:23
void moveBackward(const GLfloat unused) final
does nothing
Definition: HUDCamera.hpp:49
void recomputeOrientation() final
does nothing
Definition: HUDCamera.hpp:39
void moveForward(const GLfloat unused) final
does nothing
Definition: HUDCamera.hpp:44
Abstract Class to represent an orthographic camera. Stores box clip planes.
Definition: OrthographicCamera.hpp:11
CSCI441 Helper Functions for OpenGL.
Definition: ArcballCam.hpp:17