Merge pull request #1010 from C3NZ/master
Fix the readme example to successfully include `glm::pi` #1010
This commit is contained in:
commit
280ba02382
@ -29,7 +29,7 @@ Thanks for contributing to the project by [submitting issues](https://github.com
|
|||||||
#include <glm/mat4x4.hpp> // glm::mat4
|
#include <glm/mat4x4.hpp> // glm::mat4
|
||||||
#include <glm/ext/matrix_transform.hpp> // glm::translate, glm::rotate, glm::scale
|
#include <glm/ext/matrix_transform.hpp> // glm::translate, glm::rotate, glm::scale
|
||||||
#include <glm/ext/matrix_clip_space.hpp> // glm::perspective
|
#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)
|
glm::mat4 camera(float Translate, glm::vec2 const& Rotate)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user