[EDIT] edit lib files

This commit is contained in:
Sem van der Hoeven
2021-05-18 10:44:08 +02:00
parent 2f1a8e77e8
commit 8f13fe4d90
7 changed files with 10 additions and 10 deletions

21
src/FpsCam.h Normal file
View File

@@ -0,0 +1,21 @@
#pragma once
#include <glm/glm.hpp>
struct GLFWwindow;
class FpsCam
{
public:
FpsCam(GLFWwindow*);
glm::mat4 getMatrix();
void update(GLFWwindow*);
private:
glm::vec3 position = glm::vec3(0, 0, 0);
glm::vec2 rotation = glm::vec2(0, 0);
void move(float angle, float fac);
};