mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
Fixed clang build
This commit is contained in:
parent
bb0f4ef324
commit
7c9c8cbd6f
@ -483,7 +483,8 @@
|
||||
#endif
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
// Clip control
|
||||
// Clip control, define GLM_FORCE_DEPTH_ZERO_TO_ONE before including GLM
|
||||
// to use a clip space between 0 to 1.
|
||||
|
||||
#define GLM_DEPTH_ZERO_TO_ONE 0x00000001
|
||||
#define GLM_DEPTH_NEGATIVE_ONE_TO_ONE 0x00000002
|
||||
|
@ -36,7 +36,7 @@
|
||||
#include "./gtc/type_ptr.hpp"
|
||||
#include "./gtc/ulp.hpp"
|
||||
#include "./gtc/vec1.hpp"
|
||||
#if GLM_HAS_ANONYMOUS_STRUCT
|
||||
#if GLM_USE_ALIGNED_GENTYPES == GLM_ENABLE
|
||||
# include "./gtc/type_aligned.hpp"
|
||||
#endif
|
||||
|
||||
|
@ -799,7 +799,7 @@ namespace detail
|
||||
}
|
||||
}//namespace glm
|
||||
|
||||
#if (GLM_ARCH & GLM_ARCH_SIMD_BIT) && (GLM_HAS_ANONYMOUS_STRUCT)
|
||||
#if GLM_USE_SIMD == GLM_ENABLE
|
||||
# include "quaternion_simd.inl"
|
||||
#endif
|
||||
|
||||
|
@ -20,7 +20,7 @@ namespace
|
||||
case glm::highp: os << "uhi"; break;
|
||||
case glm::mediump: os << "umd"; break;
|
||||
case glm::lowp: os << "ulo"; break;
|
||||
# if GLM_HAS_ANONYMOUS_STRUCT
|
||||
# if GLM_USE_ALIGNED_GENTYPES == GLM_ENABLE
|
||||
case glm::aligned_highp: os << "ahi"; break;
|
||||
case glm::aligned_mediump: os << "amd"; break;
|
||||
case glm::aligned_lowp: os << "alo"; break;
|
||||
|
Loading…
Reference in New Issue
Block a user