1#ifndef CSCI441_ORTHOGRAPHIC_CAMERA_HPP
2#define CSCI441_ORTHOGRAPHIC_CAMERA_HPP
22 explicit OrthographicCamera(GLfloat minX = -1.0f, GLfloat maxX = 1.0f, GLfloat minY = -1.0f, GLfloat maxY = 1.0f, GLfloat minZ = -1.0f, GLfloat maxZ = 1.0f);
25 void _updateProjectionMatrix();
44) : _minX(minX), _maxX(maxX), _minY(minY), _maxY(maxY), _minZ(minZ), _maxZ(maxZ) {
45 _updateProjectionMatrix();
48inline void CSCI441::OrthographicCamera::_updateProjectionMatrix() {
49 mProjectionMatrix = glm::ortho( _minX, _maxX, _minY, _maxY, _minZ, _maxZ );
Abstract Camera class to be placed (position and orientation) within our scene.
Abstract Class to represent a synthetic camera. The following methods must be overridden:
Definition: Camera.hpp:37
Abstract Class to represent an orthographic camera. Stores box clip planes.
Definition: OrthographicCamera.hpp:11
OrthographicCamera(GLfloat minX=-1.0f, GLfloat maxX=1.0f, GLfloat minY=-1.0f, GLfloat maxY=1.0f, GLfloat minZ=-1.0f, GLfloat maxZ=1.0f)
initializes the OrthographicCamera
Definition: OrthographicCamera.hpp:37
CSCI441 Helper Functions for OpenGL.
Definition: ArcballCam.hpp:17