1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
matabstrix/src/camera.cpp

9 lines
179 B
C++
Raw Normal View History

2015-11-08 19:27:50 +00:00
#include "camera.hpp"
#include <glm/gtc/matrix_transform.hpp>
glm::mat4 Camera::transformation() const
{
return projection * glm::inverse(Transformation::transformation());
}