readd diverged version

This commit is contained in:
2023-09-23 21:19:52 +00:00
parent 45d324a9ec
commit 7e7a73f9b6
24 changed files with 11587 additions and 0 deletions

19
include/Camera.h Normal file
View File

@@ -0,0 +1,19 @@
#include <glm/glm.hpp>
#include <glm/ext/matrix_transform.hpp>
class Camera
{
public:
Camera() = default;
virtual ~Camera()
{
}
const glm::mat4& get_view();
const glm::mat4& get_projection();
protected:
const glm::mat4& matrix;
glm::mat4 m_view, m_projection;
};