Removed support of boost static_assrt
This commit is contained in:
parent
9f4971289c
commit
bb4f6dc9d4
@ -505,8 +505,6 @@
|
||||
|
||||
#if GLM_HAS_STATIC_ASSERT
|
||||
# define GLM_STATIC_ASSERT(x, message) static_assert(x, message)
|
||||
#elif defined(BOOST_STATIC_ASSERT)
|
||||
# define GLM_STATIC_ASSERT(x, message) BOOST_STATIC_ASSERT(x)
|
||||
#elif GLM_COMPILER & GLM_COMPILER_VC
|
||||
# define GLM_STATIC_ASSERT(x, message) typedef char __CASSERT__##__LINE__[(x) ? 1 : -1]
|
||||
#else
|
||||
|
@ -85,7 +85,7 @@
|
||||
|
||||
### The Happy Bunny License (Modified MIT License)
|
||||
|
||||
Copyright (c) 2005 - 2016 G-Truc Creation
|
||||
Copyright (c) 2005 - 2017 G-Truc Creation
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the
|
||||
@ -113,7 +113,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
### The MIT License
|
||||
|
||||
Copyright (c) 2005 - 2016 G-Truc Creation
|
||||
Copyright (c) 2005 - 2017 G-Truc Creation
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the
|
||||
@ -210,7 +210,7 @@ glm::mat4 transform(glm::vec2 const& Orientation, glm::vec3 const& Translate, gl
|
||||
|
||||
### <a name="section1_4"></a> 1.4. Dependencies
|
||||
|
||||
GLM does not depend on external libraries or headers such as `<GL/gl.h>`, [`<GL/glcorearb.h>`](http://www.opengl.org/registry/api/GL/glcorearb.h), `<GLES3/gl3.h>`, `<GL/glu.h>`, or `<windows.h>`. However, if we include `<boost/static_assert.hpp>`, then [`Boost.StaticAssert`](http://www.boost.org/doc/libs/release/libs/static_assert) will be used to provide compile-time errors. Otherwise, if using a C++11 compiler, the standard `static_assert` will be used instead. If neither is available, GLM will use its own implementation of `static_assert`.
|
||||
GLM does not depend on external libraries or headers such as `<GL/gl.h>`, [`<GL/glcorearb.h>`](http://www.opengl.org/registry/api/GL/glcorearb.h), `<GLES3/gl3.h>`, `<GL/glu.h>`, or `<windows.h>`.
|
||||
|
||||
---
|
||||
## <a name="section2"></a> 2. Swizzling
|
||||
|
Loading…
Reference in New Issue
Block a user