Browse Source

Merge pull request #1010 from C3NZ/master

Fix the readme example to successfully include `glm::pi` #1010
Christophe 5 years ago
parent
commit
280ba02382
1 changed files with 1 additions and 1 deletions
  1. 1 1
      readme.md

+ 1 - 1
readme.md

@@ -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)
 {