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.
|
#include "camera.hpp"
|
|
|
|
#include <glm/gtc/matrix_transform.hpp>
|
|
|
|
glm::mat4 Camera::transformation() const
|
|
{
|
|
return projection * glm::inverse(Transformation::transformation());
|
|
}
|