PROTO::KLUDGE
0.1
Quick prototyping library for games using SDL and OpenGL.
Camera.hpp
Go to the documentation of this file.
1
#ifndef CAMERA_HPP
2
#define CAMERA_HPP
3
4
#include "
graphics/GLTransformable.hpp
"
5
6
namespace
pk
7
{
8
9
class
Camera
:
public
GLTransformable
10
{
11
private
:
12
Camera
() {};
13
public
:
14
15
Camera
(glm::vec2 startPosition);
16
17
~Camera
();
18
19
void
update
(
GLStates
&states, glm::mat4 &view);
20
21
GLfloat
m_zoom
;
22
};
23
24
}
25
26
#endif // CAMERA_HPP
pk
Definition:
Game.hpp:7
pk::Camera::update
void update(GLStates &states, glm::mat4 &view)
pk::GLTransformable
Decorator class for creating easing OpenGL transformations for game objects.
Definition:
GLTransformable.hpp:51
pk::Camera::m_zoom
GLfloat m_zoom
Definition:
Camera.hpp:21
GLTransformable.hpp
pk::GLStates
Stores the states used to draw OpenGL objects.
Definition:
GLStates.hpp:16
pk::Camera::~Camera
~Camera()
pk::Camera::Camera
Camera()
Definition:
Camera.hpp:12
pk::Camera
Definition:
Camera.hpp:9
include
graphics
Camera.hpp
Generated on Sun Dec 1 2019 17:04:22 for PROTO::KLUDGE by
1.8.14