readd diverged version
This commit is contained in:
19
include/Camera.h
Normal file
19
include/Camera.h
Normal 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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user