2816 Commits

Author SHA1 Message Date
Tim R
94f685c111
Update setup.hpp 2019-03-31 15:00:24 -07:00
Tim R
b0f6910f0c
Update setup.hpp 2019-03-31 14:14:10 -07:00
Tim R
e4ab1096ce
Update matrix_clip_space.inl 2019-03-31 13:11:56 -07:00
Tim R
59f2c2d50e
Update matrix_transform.inl 2019-03-31 13:11:08 -07:00
Tim R
658bbdb525
Update setup.hpp
Enable 'if constexpr' when c++17
2019-03-31 13:08:57 -07:00
Tim R
503a22960a
constexpr warning
Removes warning: conditional expression is constant, consider using 'if constexpr' statement instead
2019-03-31 12:21:20 -07:00
Tim R
8755be56d6
Update matrix_transform.inl 2019-03-31 12:15:15 -07:00
Zuzu-Typ
b76297c8ff Forward declaration of frexp and ldexp 2019-03-31 18:29:56 +02:00
ddovod
81db9eb8c9 Fixing 'GLM_ENABLE_EXPERIMENTAL macro redefined' warning 2019-03-28 13:24:35 +03:00
Christophe
ca8372490e
Revert "CMakeLists.txt: remove libraries" 2019-03-13 11:36:50 +01:00
Fabrice Fontaine
3b798fe06b CMakeLists.txt: remove libraries
glm is a heaser-only library, libraries are not needed

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2019-03-12 13:23:18 +01:00
Khem Raj
1150952697 glm: Remove redundant double semi-colons
Make clang happy
/glm/gtc/../ext/../detail/../simd/common.h:106:45: error: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Werror,-Wextra-semi-stmt]
|         glm_vec4 const or0 = _mm_or_ps(and0, and1);;
|                                                    ^
| 1 error generated.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-01 11:13:28 -08:00
Christophe Riccio
477e803f38 - No more requirement for GLM_ENABLE_EXPERIMENTAL to use GTX extension, only a warning with GLM_MESSAGES defined #732 2019-03-01 18:25:15 +01:00
Christophe Riccio
3c28cc459a Improved documentation #836 2019-03-01 15:55:10 +01:00
Christophe Riccio
c142d46ca3 Fixed glm::decompose #869 2019-03-01 15:50:44 +01:00
Christophe
ebdc1cb9d2
Merge pull request #867 from SuperSodaSea/master
Remove duplicate calculations #867
2019-03-01 12:47:20 +01:00
Christophe
a40bd4d01c
Merge pull request #871 from ffontaine/master
CMakeLists: add BUILD_{SHARED,STATIC}_LIBS options #871
2019-03-01 12:40:06 +01:00
Christophe Riccio
6492c8593f - Added mix implementation for matrices in EXT_matrix_common #842 2019-03-01 12:33:09 +01:00
Christophe Riccio
96e7eb52ac Fixed build 2019-03-01 12:06:17 +01:00
Christophe Riccio
f30db00b74 Fixed int8 being defined as unsigned char with some compiler #839 2019-03-01 11:42:20 +01:00
Christophe Riccio
6b62e66a7d Fixed mix implementation to improve GLSL conformance #866 2019-03-01 11:20:01 +01:00
Christophe Riccio
768dad4df0 Fixed constexpr with GCC 2019-03-01 11:01:45 +01:00
Fabrice Fontaine
efd91329ba CMakeLists: add BUILD_{SHARED,STATIC}_LIBS options
Add BUILD_SHARED_LIBS and BUILD_STATIC_LIBS options to allow the user
to enable/disable building of shared and static library

This is especially useful when cross-compiling as some toolchains are
not always able to build a shared or a static library

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2019-02-17 00:06:35 +01:00
SuperSodaSea
89a4d957e9 Remove duplicate calculations
In inverseTranspose(mat<4, 4, T, Q>), SubFactor07 is the same as SubFactor11. Remove it.
2019-02-04 13:37:54 +08:00
Christian Oliveros
3125f83f16
Fix for GLM_HAS_CXX11_STL detection
Fix to the bug with the GLM_HAS_CXX11_STL detection using Clang and VS Toolchain on Windows due to the lack of libc++ on Windows.
2019-01-17 10:51:12 -04:00
Willy Scheibel
1d757f5347
Add missing include to vec1 2019-01-11 22:53:29 +01:00
Christophe Riccio
ef9d65e0c6 Added GLM_FORCE_INTRINSICS define 2019-01-11 12:58:31 +01:00
Christophe
ddebaba033
Merge pull request #831 from MrVallentin/typos
Fixed typos #831
2018-11-05 20:08:16 +01:00
Christophe Riccio
cc80d7674b Fixed in mat4x3 conversion #829 2018-11-05 20:03:55 +01:00
MrVallentin
a8953c672f Fixed typos 2018-11-05 13:47:57 +01:00
Christophe Riccio
3ffcfb8f12 Fixed implicit conversion on Clang Android #824 2018-10-24 14:57:40 +02:00
Christophe Riccio
980dfabcd7 Added message for GLM_SWIZZLE deprecation 2018-10-24 14:54:12 +02:00
Cort Stratton
eaca81874f Suppress struct-padding warning on vec3s with GLM_CONFIG_ALIGNED_GENTYPES + GLM_CONFIG_SILENT_WARNINGS 2018-10-09 13:13:39 +02:00
Cort Stratton
7d527af1ec Minor formatting changes for existing messages (add trailing periods) 2018-10-09 13:12:24 +02:00
Cort Stratton
fd00b057da Add message when GLM_FORCE_DEFAULT_ALIGNED_GENTYPES is defined and enabled 2018-10-09 13:12:01 +02:00
Florian Penzkofer
d0ae3f966e Fix bitfieldInsert according to GLSL spec
"bitfieldInsert inserts the bits least significant bits of insert into base at offset offset..."
2018-10-04 17:23:44 -05:00
Christophe Riccio
77ce9b5b29 Tentative fix of GCC 6 tests 2018-10-01 14:19:08 +02:00
Christophe Riccio
3d26f49775 Added GLM_FORCE_ALIGNED_GENTYPES to enable aligned types and SIMD instruction are not enabled. This disable constexpr #816 2018-09-30 21:52:09 +02:00
Christophe Riccio
68c7e7e50b Tentative fix constexpr with GCC 2018-09-30 11:07:11 +02:00
Christophe Riccio
d1487eec8e Fixed build 2018-09-27 11:44:08 +02:00
Christophe Riccio
3b607947a7 Merge branch 'dev' of https://github.com/g-truc/glm into dev 2018-09-27 11:40:16 +02:00
Christophe Riccio
1362d51967 Added adjugate functions to GTX_matrix_operation #151 2018-09-27 11:39:52 +02:00
Christophe Riccio
d3282d8177 Fixed build 2018-09-26 23:31:12 +02:00
Christophe Riccio
d884410781 Fixed build 2018-09-26 22:50:00 +02:00
Christophe Riccio
a30dc0f6f5 Fixed build 2018-09-26 22:43:34 +02:00
Christophe Riccio
76683aa287 Added vector ulp functions 2018-09-26 18:27:55 +02:00
Christophe Riccio
84d5e96144 Clean up dead files 2018-09-26 12:51:51 +02:00
Christophe Riccio
21d0092f6a Fixed simplex noise build with double #734 2018-09-26 12:51:31 +02:00
Christophe Riccio
9b0434255f Deleted useless file 2018-09-26 12:12:48 +02:00
Christophe Riccio
59cae7b5cb Added constant time ULP distance between float #121 2018-09-26 12:09:06 +02:00