mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
Added <glm/gtx/hash.hpp> to perform to perform std::hash on GLM types #320
This commit is contained in:
parent
61e9b88db0
commit
f51bcc70cc
@ -41,6 +41,10 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#if !GLM_HAS_CXX11_STL
|
||||||
|
# error "GLM_GTX_hash requires C++11 standard library support"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|
||||||
#include "../vec2.hpp"
|
#include "../vec2.hpp"
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
#include "../detail/setup.hpp"
|
#include "../detail/setup.hpp"
|
||||||
|
|
||||||
#if !GLM_HAS_TEMPLATE_ALIASES && !(GLM_COMPILER & GLM_COMPILER_GCC)
|
#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
|
#endif
|
||||||
|
|
||||||
#include "../vec2.hpp"
|
#include "../vec2.hpp"
|
||||||
|
@ -71,6 +71,7 @@ Features:
|
|||||||
- Added 'fmod' overload to GTX_common with tests #308
|
- Added 'fmod' overload to GTX_common with tests #308
|
||||||
- Left handed perspective and lookAt functions #314
|
- Left handed perspective and lookAt functions #314
|
||||||
- Added functions eulerAngleXYZ and extractEulerAngleXYZ #311
|
- Added functions eulerAngleXYZ and extractEulerAngleXYZ #311
|
||||||
|
- Added <glm/gtx/hash.hpp> to perform to perform std::hash on GLM types #320
|
||||||
|
|
||||||
Improvements:
|
Improvements:
|
||||||
- Changed usage of __has_include to support Intel compiler #307
|
- Changed usage of __has_include to support Intel compiler #307
|
||||||
|
Loading…
Reference in New Issue
Block a user