Added <glm/gtx/hash.hpp> to perform to perform std::hash on GLM types #320

master
Christophe Riccio ago%!(EXTRA string=10 years)
parent 61e9b88db0
commit f51bcc70cc
  1. 4
      glm/gtx/hash.hpp
  2. 2
      glm/gtx/scalar_multiplication.hpp
  3. 1
      readme.txt

@ -41,6 +41,10 @@
#pragma once
#if !GLM_HAS_CXX11_STL
# error "GLM_GTX_hash requires C++11 standard library support"
#endif
#include <functional>
#include "../vec2.hpp"

@ -44,7 +44,7 @@
#include "../detail/setup.hpp"
#if !GLM_HAS_TEMPLATE_ALIASES && !(GLM_COMPILER & GLM_COMPILER_GCC)
# error "GLM_GTX_scalar_multiplication requires C++11 suppport or alias templates and if not support for GCC"
# error "GLM_GTX_scalar_multiplication requires C++11 support or alias templates and if not support for GCC"
#endif
#include "../vec2.hpp"

@ -71,6 +71,7 @@ Features:
- Added 'fmod' overload to GTX_common with tests #308
- Left handed perspective and lookAt functions #314
- Added functions eulerAngleXYZ and extractEulerAngleXYZ #311
- Added <glm/gtx/hash.hpp> to perform to perform std::hash on GLM types #320
Improvements:
- Changed usage of __has_include to support Intel compiler #307

Loading…
Cancel
Save