Saxum/camera.hh
2014-11-13 17:17:46 +01:00

21 lines
457 B
C++

#ifndef CAMERA_HH_INCLUDED
#define CAMERA_HH_INCLUDED
#include <ACGL/Math/Math.hh>
class Camera {
public:
Camera(glm::vec3 rotation, float distance);
Camera();
~Camera();
float getDistance();
void setDistance(float distance);
glm::vec3 getRotation();
void updateRotation(glm::vec3 rotation); //adds to current rotation
private:
float distance;
glm::vec3 rotation;
};
#endif