Merged remote master

This commit is contained in:
Groove 2018-07-31 23:11:45 +02:00
commit 269ae64128
6 changed files with 10 additions and 7 deletions

View File

@ -597,7 +597,7 @@ namespace glm
///////////////////////////////////////////////////////////////////////////////////
// Configure the use of aligned gentypes
#if defined(GLM_FORCE_ALIGNED_GENTYPES) && GLM_HAS_ALIGNOF && (GLM_LANG & GLM_LANG_CXXMS_FLAG)
#if GLM_HAS_ALIGNOF && (GLM_LANG & GLM_LANG_CXXMS_FLAG)
# define GLM_CONFIG_ALIGNED_GENTYPES GLM_ENABLE
#else
# define GLM_CONFIG_ALIGNED_GENTYPES GLM_DISABLE

View File

@ -13,7 +13,7 @@
#pragma once
#if !GLM_CONFIG_ANONYMOUS_STRUCT
# error "GLM: Aligned gentypes require to enable C++ language extensions and to define GLM_FORCE_ALIGNED_GENTYPES before including GLM headers."
# error "GLM: Aligned gentypes require to enable C++ language extensions."
#endif
#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)

View File

@ -78,7 +78,7 @@
+ [9.4. Tutorials using GLM](#section9_4)
+ [9.5. Equivalent for other languages](#section9_5)
+ [9.6. Alternatives to GLM](#section9_6)
+ [9.8. Acknowledgements](#section9_8)
+ [9.7. Acknowledgements](#section9_7)
---
## <a name="section0"></a> Licenses

View File

@ -1,5 +1,3 @@
#define GLM_FORCE_ALIGNED_GENTYPES
#include <glm/glm.hpp>
#include <glm/ext.hpp>

View File

@ -1,4 +1,3 @@
#define GLM_FORCE_ALIGNED_GENTYPES
#include <glm/glm.hpp>
#if GLM_CONFIG_ALIGNED_GENTYPES == GLM_ENABLE

View File

@ -1,13 +1,19 @@
#define GLM_FORCE_ALIGNED_GENTYPES
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/glm.hpp>
/*
#if GLM_USE_SIMD == GLM_ENABLE && GLM_USE_ALIGNED_GENTYPES == GLM_ENABLE
#include <glm/gtx/common.hpp>
#include <glm/gtc/integer.hpp>
#include <glm/gtc/epsilon.hpp>
#include <glm/gtc/type_aligned.hpp>
#include <glm/ext/vector_relational.hpp>
<<<<<<< HEAD
#include <glm/glm.hpp>
/*
#if GLM_CONFIG_SIMD == GLM_ENABLE && GLM_CONFIG_ALIGNED_GENTYPES == GLM_ENABLE
=======
>>>>>>> b4a2eb14070b391370d94b0165681387ff37dc9c
namespace glm
{