Merge pull request #1010 from C3NZ/master

Fix the readme example to successfully include `glm::pi` #1010
This commit is contained in:
Christophe
2020-05-01 10:54:06 +02:00
committed by GitHub

View File

@@ -29,7 +29,7 @@ Thanks for contributing to the project by [submitting issues](https://github.com
#include <glm/mat4x4.hpp> // glm::mat4
#include <glm/ext/matrix_transform.hpp> // glm::translate, glm::rotate, glm::scale
#include <glm/ext/matrix_clip_space.hpp> // glm::perspective
#include <glm/ext/constants.hpp> // glm::pi
#include <glm/ext/scalar_constants.hpp> // glm::pi
glm::mat4 camera(float Translate, glm::vec2 const& Rotate)
{