Commit Graph

4674 Commits

Author SHA1 Message Date
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
Christophe
4adf2fb1fa
Merge pull request #874 from kraj/master
glm: Remove redundant double semi-colons #874
2019-03-04 10:24:48 +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
ab16f2d230 Updated release note #865 2019-03-01 15:59:10 +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 Riccio
04af69386d Updated release note 2019-03-01 12:52:34 +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
daf14f0f74 Added bitfieldRotate tests #862 2019-03-01 11:33:32 +01:00
Christophe Riccio
6b62e66a7d Fixed mix implementation to improve GLSL conformance #866 2019-03-01 11:20:01 +01:00
Christophe Riccio
8e7d0c307c Fixed constexpr issue on GCC #832 2019-03-01 11:03:17 +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
Christophe
7590260cf8
Merge pull request #859 from maniatic0/master
Fix for GLM_HAS_CXX11_STL detection #859
2019-01-22 13:50:54 +01: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
Christophe
8cd6db11cd
Merge pull request #856 from scheibel/patch-1
Add missing include to vec1 #856
2019-01-15 20:43:44 +01: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
47031aa4b7
Merge pull request #848 from c0nd3v/master
Omitted .vscode #848
2018-12-30 14:42:50 +01:00
Connor Roberts
73bd4baac1 Omitted .vscode 2018-12-10 14:39:32 -05:00
Christophe
437a131adb
Merge pull request #837 from tim3385/master
The title of 5.2 in content is wrong. "GPU=>GLU" #837
2018-11-29 15:35:27 +01:00
houstond
69271c117c The title of 5.2 in content is wrong. "GPU=>GLU" 2018-11-24 02:25:18 +08: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
9749727c2d Fixed refract for negative 'k' #808 2018-10-31 14:16:28 +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
Christophe
b8ee874742
Merge pull request #821 from cdwfs/silent-padding-warning
Suppress warning on aligned vec3 when GLM_FORCE_SILENT_WARNINGS is used. Fixes #822 #821
2018-10-17 00:46:27 +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
Christophe
6f6f4d3ae8
Merge pull request #818 from hkr/bitfieldInsert
Fix bitfieldInsert according to GLSL spec #818
2018-10-08 12:22:08 +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
abff0a39ac Fixed build 2018-10-01 11:23:26 +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
81d626daf6 Added test for #764 2018-09-27 21:22:07 +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