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

This commit is contained in:
Christophe Riccio 2015-03-15 23:52:22 +01:00
parent 61e9b88db0
commit f51bcc70cc
3 changed files with 6 additions and 1 deletions

View File

@ -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"

View File

@ -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"

View File

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