From 0bf4ad9e4a9e1c97e92aa23a365405dfef89bd7c Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 17 Jan 2021 19:36:30 +0000 Subject: Big reshuffle Fixes code quality warnings now picked up. --- camera.h | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 camera.h (limited to 'camera.h') diff --git a/camera.h b/camera.h deleted file mode 100644 index 3c1e40c..0000000 --- a/camera.h +++ /dev/null @@ -1,24 +0,0 @@ -#ifndef CAMERA_INCLUDED_H -#define CAMERA_INCLUDED_H - -#include - -class Camera { -public: - Camera(glm::vec3 pos, float fov, float aspect, float zNear, float zFar); - - glm::mat4 GetViewProjection() const; - - void MoveForward(float amt); - void MoveRight(float amt); - void Pitch(float angle); - void RotateY(float angle); - -private: - glm::mat4 projection; - glm::vec3 pos; - glm::vec3 forward; - glm::vec3 up; -}; - -#endif -- cgit v1.2.3