Commit Graph

2995 Commits

Author SHA1 Message Date
Christophe Riccio
f4c6667347 Fixed unnecessary warnings from matrix_projection.inl #995 2020-03-05 23:46:36 +01:00
Christophe Riccio
2a65978348 Merge branch 'master' of https://github.com/g-truc/glm into matrix-int 2020-03-05 18:52:28 +01:00
Kontny Karol
31d01b525e Quaternion slerp overload which interpolates with extra spins
Signed-off-by: Karol Kontny <barolek@gmail.com>
2020-02-28 00:01:52 +01:00
Christophe Riccio
a4bf8867c2 Added clamp, repeat, mirrorClamp and mirrorRepeat function to GLM_EXT_scalar_commond and GLM_EXT_vector_commond extensions with tests 2020-02-11 12:53:12 +01:00
Christophe Riccio
e8d758f746 Added integer matrix extensions and fixed build 2020-02-11 11:44:52 +01:00
Christophe Riccio
0d9abe3725 Added missing EXT extensions 2020-02-10 21:44:31 +01:00
Christophe Riccio
c4fd0b3aa3 Clean up integer matrix 2020-02-10 20:22:47 +01:00
Christophe Riccio
9e7a486c0e Added matrix integer extensions and tests 2020-02-10 19:06:30 +01:00
Christophe Riccio
684817db46 Clean up integer precision 2020-02-08 16:21:22 +01:00
Christophe Riccio
79d78bbdde Work on integer matrix 2020-02-07 17:45:02 +01:00
Christophe Riccio
6bd53cc9e5 Added files for EXT packing extensions 2020-02-07 15:20:42 +01:00
Christophe Riccio
65c8ff2bd6 Merge branch 'master' of https://github.com/g-truc/glm 2020-02-07 15:19:33 +01:00
Christophe Riccio
00ef7042df Removed duplicated vector 2020-02-07 15:19:14 +01:00
Christophe
6d8b4a11bf
Merge pull request #989 from dorodnic/doc_fix
Fixing output order in the documentation of glm::polar #989
2020-02-07 14:58:50 +01:00
Christophe
82d500376e
Merge pull request #992 from amaury-ml/compfix
[Aarch64] fix for glm::length #992
2020-02-07 14:57:13 +01:00
Amaury Le Leyzour
16a650ea65 [Aarch64] fix for glm::length 2020-02-05 17:48:31 -08:00
Christophe Riccio
8e58cdbbf8 - Added GLM_EXT_vector_intX_sized and GLM_EXT_vector_uintX_sized extensions 2020-02-04 17:11:07 +01:00
dorodnic
56c2cadc4a Fixing output order in the documentation of glm::polar 2020-01-06 22:21:02 +02:00
Christophe Riccio
13724cfae6 Tentative fix of GLM_FORCE_QUAT_DATA_WXYZ on Clang with tests 2020-01-05 21:19:37 +01:00
Christophe Riccio
d92ac09ce2 Tentative fix of GLM_FORCE_QUAT_DATA_WXYZ on Clang with tests 2020-01-05 21:05:29 +01:00
Christophe Riccio
8381f8e71e Tentative fix of GLM_FORCE_QUAT_DATA_WXYZ on Clang with tests 2020-01-05 21:02:56 +01:00
Christophe Riccio
85e491b30c Tentative fix of GLM_FORCE_QUAT_DATA_WXYZ on Clang with tests 2020-01-05 20:41:51 +01:00
Christophe Riccio
638eb14fcd - Added GLM_FORCE_QUAT_DATA_WXYZ to store quat data as w,x,y,z instead of x,y,z,w #983 2020-01-05 15:51:05 +01:00
Christophe Riccio
af6f1d7b8f Fixed EXT_matrix_clip_space perspectiveFov 2020-01-05 15:26:50 +01:00
Khem Raj
d2b9bbb911 Fix Wimplicit-int-float-conversion warnings with clang 10+
This is a new warning in clang which will be available in clang 10
onwards

Fixes
error: implicit conversion from 'const int' to 'float' may lose precision [-Werror,-Wimplicit-int-float-conversion]
2019-12-27 18:44:52 -08:00
Christophe
8828c3f1fd Fixed GLM_EXT_matrix_clip_space warnings #980 2019-12-09 14:21:08 +01:00
Amaury Le Leyzour
9da0c80e26 Yet another fix as this is no longer covered by unit tests 2019-11-21 13:03:22 -08:00
Amaury Le Leyzour
c7dbbee6a1 Fix typo 2019-11-20 09:05:39 -08:00
Amaury Le Leyzour
923f7222d1 Fix Neon issues 2019-11-19 18:26:16 -08:00
Amaury Le Leyzour
9ce038104c Fixing minor compiler issue 2019-11-19 17:30:57 -08:00
Amaury Le Leyzour
77d797bd54 respect project's coding style 2019-11-12 15:49:26 -08:00
Amaury Le Leyzour
a2403634da glm-aarch64: Add neon's mat4 inverse 2019-11-12 15:41:53 -08:00
Christophe Riccio
3da0e18de7 Added missing quat constexpr #955 2019-11-06 15:03:32 +01:00
Christophe Riccio
95b1cdbbfe Added fma implementation based on std::fma #969 2019-11-06 10:57:35 +01:00
Christophe Riccio
9caadbdf86 Added CMake GLM interface #963 2019-11-02 16:47:21 +01:00
Christophe Riccio
919e72f5dd Fixed equal ULP variation when using negative sign #965 2019-11-02 12:46:15 +01:00
Christophe
46670b794b
Merge pull request #963 from kiroma/master
Re-add the glm interface library in cmake #963
2019-11-02 11:27:28 +01:00
Christophe
c11944cf02
Merge pull request #950 from amaury-ml/neon-func
More simd/Neon functions #950
2019-11-02 11:17:26 +01:00
Krzysztof Kurek
e791090589
Re-add the glm interface library in cmake
Also re-work the main cmakelists to make the project more easily embeddable
2019-10-15 14:49:30 +02:00
Amaury Le Leyzour
8a173352e4 More simd/Neon functions 2019-09-18 09:47:57 -07:00
Amaury Le Leyzour
88a7aee27b More simd/Neon functions 2019-09-17 16:16:38 -07:00
Stefan Maass
e7d51a3838 bugfix intersection ray/plane, added related tests 2019-09-14 23:38:44 +02:00
Amaury Le Leyzour
9b0a0535ce Fixing GLM_MODEL for Windows compilers targeting ARM 2019-09-10 11:28:50 -07:00
Amaury Le Leyzour
e508cc604f More simd/Neon functions 2019-09-10 10:55:59 -07:00
Amaury Le Leyzour
c35bc3d576 Fix Arm 64bit detection
__aarch64__ is the correct way, __arm64__ is for iOS.
But the memory model does not need any of these architecture defines to be fully
relevant. __LP64__ means Long Pointer 64 (ie 64bits), and __ILP32__ is Integer Long Pointer 32 (ie 32bits).
That's enough and avoids errors like __arch64__ (correct way is __aarch64__) but forgets __arm64__ (iOS).
2019-09-10 10:44:45 -07:00
Christophe
5868657413
Merge pull request #946 from qsantos/patch-1
Fix loss of precision on small angles in qua's pow #946
2019-09-09 12:31:24 +02:00
Quentin Santos
3a41107d10 Fix precision loss on small angles in qua's angle 2019-09-08 18:31:50 +02:00
Quentin Santos
c597094980 Fix precision loss on small angles in qua's pow 2019-09-08 18:31:50 +02:00
Christophe Riccio
4db8f89aac Fixed quaternion array access #942 2019-09-08 15:58:42 +02:00
Christophe Riccio
73df95205f Fixed doxygen doc 2019-09-07 17:39:53 +02:00
Christophe Riccio
f4b3fc7733 Added missing genType check for bitCount and bitfieldReverse #893 2019-09-07 14:53:58 +02:00
Christophe Riccio
bfa028ed13 Fixed build 2019-09-07 14:34:49 +02:00
Christophe Riccio
943529eef6 Fixed CUDA 9 build #910 2019-09-07 14:32:06 +02:00
Christophe Riccio
2bd4217685 Fixed build 2019-09-07 14:09:36 +02:00
Christophe Riccio
a5fd70aed8 Fixed Clang or GCC build due to wrong GLM_HAS_IF_CONSTEXPR definition #907 2019-09-07 13:52:41 +02:00
Christophe Riccio
61b2a73e21 Fixed missing std:: namespace #898 2019-09-07 13:41:08 +02:00
Christophe Riccio
9d18fc8221 Fixed warning 2019-09-07 12:21:47 +02:00
Christophe Riccio
87bed133e7 Fixed warning 2019-09-07 12:15:00 +02:00
Christophe Riccio
9ca99751f0 Merge branch 'master' of https://github.com/g-truc/glm 2019-09-07 11:16:41 +02:00
Christophe Riccio
247beeb5bf Bring back quaternion to xyzw storage to remain backward compatible #942 2019-09-07 11:16:05 +02:00
Christophe
bd32be3ebd
Merge pull request #928 from l90lpa/lMaxNorm-proposal
L max norm proposal #928
2019-09-07 11:10:10 +02:00
Christophe Riccio
d2c60e08c0 Merge branch 'neon' of https://github.com/amaury-ml/glm 2019-09-07 11:06:19 +02:00
Christophe Riccio
79787bbff6 Fixed GLM_HAS_CXX11_STL broken on Clang with Linux #926 2019-09-07 10:51:19 +02:00
Christophe Riccio
0d0638e7e7 Bring back quaternion to xyzw storage to remain backward compatible #942 2019-09-07 10:40:06 +02:00
Amaury Le Leyzour
d2aa30fe92 Remove debug warnings 2019-09-03 10:14:30 -07:00
Amaury Le Leyzour
cd3cc166b4 Add Neon to glm
A few simple functions that use Neon as compiler does not
use the full potential of Neon
For now, -DGLM_FORCE_NEON is required until it's the default
2019-08-28 11:30:40 -07:00
Liam
2c3bdccb01
Merge branch 'master' into lMaxNorm-proposal 2019-08-25 09:03:13 +01:00
Pierre Moreau
5bbbb460d3
Add missing '@' in the documentation
"param" was not being recognised as a keyword, messing up the layout of
`glm::rotation()`'s parameter description.
2019-08-08 12:20:23 +02:00
Christophe
67d647ae46 Fixed version 2019-08-08 11:25:08 +02:00
Christophe
163f0d162d Tentative fix build 2019-08-08 11:09:59 +02:00
Christophe
29987a3100 Fixed prevPowerOfTwo build 2019-08-08 10:51:19 +02:00
Christophe
8bf26a2bb3 Fixed C++ 98 build 2019-08-07 15:00:50 +02:00
Christophe
22af215da4 Merge branch 'master' of https://github.com/g-truc/glm 2019-08-07 14:13:16 +02:00
Christophe
083dfdcb91 Fixed build 2019-08-07 14:11:22 +02:00
Christophe
23b184f64d
Merge pull request #927 from l90lpa/fix-lxNorm
Fix lx norm #927
2019-08-07 13:49:34 +02:00
Christophe
e620adac1b Fixed build 2019-08-07 13:46:52 +02:00
Christophe
7cb9607ffb Fixed quaternion initialization 2019-08-07 13:39:36 +02:00
Liam Adams
2400954df2 Add lMaxNorm for computing the max norm. 2019-07-20 08:01:59 +01:00
Liam Adams
7d20bc8104 Take the absolute vaue of the components to avoid possible negative norm values. 2019-07-19 17:53:19 +01:00
Christophe
947527d3ac Fixed string_cast, broken after fixing #916 2019-07-12 23:11:27 +02:00
Christophe
cb9cd7ccb8 Fixed GTC_round build 2019-07-12 22:20:57 +02:00
Christophe
2423d607fe Fixed GCC warning about member initialization order 2019-07-12 22:11:42 +02:00
Christophe
4074dfcf07 Added findNSB functions and tests 2019-07-12 21:50:30 +02:00
Christophe
72f776b280 Fixed build 2019-07-12 19:40:59 +02:00
Christophe
9fbd011cab Fixed merge 2019-07-12 19:24:04 +02:00
Christophe
f5381ef536 Fixed quaternion componant order: w, {x, y, z} #916 2019-07-12 19:19:10 +02:00
Christophe
3a65b7a628 Completed EXT_*_integer extensions 2019-07-12 18:46:08 +02:00
Christophe
3288df2f89 Added EXT_vector_integer test 2019-07-12 15:44:17 +02:00
Christophe
27b622e968 Merged master 2019-07-11 16:13:23 +02:00
Christophe
4fc28977d6
Merge pull request #920 from inviwo/feature/hash-qua
Hash hashes qua instead of tquat closes #919 #920
2019-07-09 13:46:47 +02:00
Christophe
513af73cc4
Merge pull request #921 from inviwo/feature/gcc6-standard-version
Fix for g++6 where -std=c++1z sets __cplusplus to 201500 instead of 201402 #921
2019-07-09 13:45:53 +02:00
Jonas Karlsson
81dfda4cf3 Fix gcc if constexpr error
Check against __cplusplus version instead of compiler version. This fixes compilation errors when using an older cpp standard version with a newer gcc compiler. This flag requires GCC 4.7 or greater.
2019-07-03 09:47:14 +02:00
Peter Steneteg
598a3dc7b7 Fix for g++6 where -std=c++1z sets __cplusplus to 201500 instead of 201402 2019-06-26 12:49:39 +02:00
Peter Steneteg
9a1f85ae79 Hash hashes qua instead of tquat closes #919 2019-06-26 12:48:40 +02:00
Christophe
1a2d6cba99
Merge pull request #902 from Zuzu-Typ/master
Fixed typo #902
2019-06-21 16:18:02 +02:00
Christophe
ab45359c36
Merge pull request #903 from Zuzu-Typ/ext_vector_double1
Fixed typos #903
2019-06-21 16:17:44 +02:00
Christophe
5726c5ce71
Merge pull request #904 from Zuzu-Typ/gauss_rand
Silence C4244 warning #904
2019-06-21 16:17:15 +02:00
Christophe
7d6145ea3d
Merge pull request #908 from Zuzu-Typ/2019-06-03-09-25
Fixed copy and paste errors #908
2019-06-21 16:16:32 +02:00
rhoarau
2a8822865c Fix typos and code style (space to tab). 2019-06-16 13:33:02 +02:00
rhoarau
1079444f7e Remove a preprocessor debug message and correct the readme 2019-06-09 17:25:43 +02:00
rhoarau
8fb71ffd07 Initial SYCL support:
The core and some ext functions should work.
2019-06-09 16:05:09 +02:00
Zuzu-Typ
537bc3a1d1 Fixed typo
Wrong title of GLM_GTC_round
2019-06-03 14:35:04 +02:00
Zuzu-Typ
b15bbffe5a Update packing.hpp 2019-06-03 09:29:32 +02:00
Zuzu-Typ
bc70a03adc Use static_cast instead of C-style 2019-05-29 12:20:11 +02:00
Zuzu-Typ
a201957cf9 Silence C4244 warning
Silenced a C4244 warning in gaussRand.
2019-05-28 16:10:58 +02:00
Zuzu-Typ
2800604781 Fixed typo 2019-05-28 16:02:22 +02:00
Zuzu-Typ
24c0d923b0 Fixed typo 2019-05-23 20:36:26 +02:00
Christophe Riccio
9c831a1a76 Added performance tests 2019-05-03 18:24:49 +02:00
Christophe Riccio
a91fb705db Added EXT_vector_integer extension 2019-04-26 19:01:12 +02:00
Christophe Riccio
07c6d56b5f Added initial work for integer vector and scalar functions 2019-04-26 18:32:06 +02:00
Christophe
f420e483b6
Merge pull request #895 from Zuzu-Typ/master
Fixed ldexp and frexp declaration #895
2019-04-22 12:38:07 +02:00
Christophe
d5760d9cd0
Merge pull request #890 from oliver-om/qua_conversion_const
Add const to quaternion conversion operators #890
2019-04-22 12:34:55 +02:00
Zuzu-Typ
a66068f7ef Fixed ldexp and frexp declaration 2019-04-10 21:27:05 +02:00
andoalon
0053354086
Fix typo in 'pi()' 2019-04-08 12:41:27 +02:00
Oliver Whyte
fe6fb29107 Add const to quaternion conversion operators 2019-04-05 11:27:00 -07:00
Christophe Riccio
13d2cea73f Added 2019-04-04 14:01:05 +02:00
Christophe Riccio
229b762c31 Added Visual C++ 2019 detection 2019-04-04 12:24:02 +02:00
Christophe Riccio
d162eee1e6 Fixed GLM version 2019-04-02 11:28:25 +02:00
Christophe
1498e094b9
Merge pull request #887 from timmmeh/master
'if constexpr' warning (c++17) #887
2019-04-01 17:00:59 +02:00
Christophe
3de80d2b31
Merge pull request #886 from Zuzu-Typ/master
Forward declaration of frexp and ldexp #886
2019-04-01 16:59:07 +02:00
Christophe
d92e83c91f
Merge pull request #882 from ddovod/fixing_macro_redefined
Fixing 'GLM_ENABLE_EXPERIMENTAL macro redefined' warning #882
2019-04-01 16:56:08 +02:00
Christophe Riccio
f846aa8334 Build errors when defining GLM_ENABLE_EXPERIMENTAL #884 #883 2019-04-01 16:04:04 +02:00
Tim R
f0685972f1
Update setup.hpp 2019-04-01 00:26:04 -07:00
Tim R
2877c42a36
Update setup.hpp 2019-03-31 18:00:30 -07:00
Tim R
fe6c08ea10
Update setup.hpp 2019-03-31 17:47:11 -07:00
Tim R
a03e1fc8f4
Update setup.hpp 2019-03-31 16:53:40 -07:00
Tim R
cf74190dfd
Update setup.hpp 2019-03-31 15:06:44 -07:00
Tim R
80679fd523
Update matrix_clip_space.inl 2019-03-31 15:02:54 -07:00
Tim R
0bb41224f3
Update matrix_transform.inl 2019-03-31 15:01:13 -07:00
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
Christophe Riccio
0f4a597f10 Added matrix relationak function taking ULPs 2018-09-25 15:05:55 +02:00
Christophe Riccio
6b622f2ed4 Tentative fix of GCC build 2018-09-24 11:08:09 +02:00
Christophe Riccio
906efb8045 Fixed VC2013 build 2018-09-21 15:36:01 +02:00
Christophe Riccio
d5df61aa66 Fixed tests 2018-09-21 15:25:54 +02:00
Christophe Riccio
635ff4ef2d Added GLM_FORCE_SILENT_WARNINGS to silent GLM warnings when using language extensions but using W4 or Wpedantic warnings #814 #775 2018-09-18 22:35:28 +02:00
Christophe Riccio
b2a7f1093c Added vector retionnal with max ULPs arguments and fixed double support 2018-09-17 19:06:02 +02:00
Christophe Riccio
311f59ed7e Added vector retionnal with max ULPs arguments 2018-09-17 18:46:02 +02:00
Christophe Riccio
e5d6b1c64b Merged master 2018-09-17 11:48:15 +02:00
Christophe Riccio
770498a407 updated GLM version for future GLM 0.9.9.3 2018-09-14 13:28:24 +02:00
Christophe Riccio
fe83040cbd Fixed default initialization with vector and quaternion types using GLM_FORCE_CTOR_INIT #812 2018-09-10 15:45:01 +02:00
Christophe Riccio
72327cea4f Added equal and notEqual overload with max ULPs parameters for scalar numbers #121 2018-09-04 02:14:48 +02:00
Christophe Riccio
cf6504b65e Fixed GLM_FORCE_CXX** section in the manual 2018-09-03 23:53:45 +02:00
Christophe Riccio
416fa93e42 Added PDF manual 2018-09-03 23:15:27 +02:00
Christophe Riccio
49b508a1ab Updated doxygen API documentation 2018-08-31 21:32:56 +02:00
Christophe Riccio
9dcdae8e8f Updated doxygen API documentation 2018-08-31 20:46:32 +02:00
Christophe Riccio
0b974f0d00 Improved doxygen API doc 2018-08-31 20:23:27 +02:00
Christophe Riccio
99eb6b3cc6 Improved manual and API documentations 2018-08-30 12:06:10 +02:00
Christophe Riccio
62e4c59d8d More manual documentation 2018-08-30 01:04:26 +02:00
Christophe Riccio
b40c557f25 Improved EXT extensions documentation 2018-08-30 00:16:14 +02:00
Christophe Riccio
556f657936 Fixed doxygen failure 2018-08-29 21:50:57 +02:00
Christophe Riccio
45d7fc8c4e Improved doxygen doc 2018-08-29 14:28:01 +02:00
Christophe Riccio
a0c47aced6 Clean up doxygen documentation 2018-08-29 10:56:55 +02:00
Christophe Riccio
0e3c9f0d7d Added reference to other extensions 2018-08-29 01:34:02 +02:00
Christophe Riccio
34f0c510b6 Fixed doxygen 2018-08-29 00:05:54 +02:00
Christophe Riccio
37504928bb Fixed API documentation references and filenames 2018-08-28 21:55:47 +02:00
tigertang
84b6247093 Modify glm::refract according to GLSL man page: return vector zero when full reflection happens #806 2018-08-28 11:25:04 +08:00
Christophe Riccio
abdb9fa3a2 Fixed display of GLM version as part of GLM build messages 2018-08-28 01:12:15 +02:00
Christophe Riccio
e12d724143 Added backward compatibility with GLM_FORCE_ALIGNED, replaced by GLM_FORCE_DEFAULT_ALIGNED_GENTYPES 2018-08-27 23:29:09 +02:00
Christophe Riccio
76580af80e Clarified refract valid range of the indices of refraction, between -1 and 1 inclusively #806 2018-08-27 23:13:02 +02:00
Christophe Riccio
f56011fb20 Fixed aligned test on compilers that doesn't support it 2018-08-27 22:11:17 +02:00
Christophe Riccio
2fdc2dc748 Clarify the support of constexpr 2018-08-27 20:19:19 +02:00
Christophe Riccio
978df09b00 Clean up manual highlight 2018-08-25 22:45:01 +02:00
Christophe Riccio
de4dbc5662 Improved disabling auto detection 2018-08-22 21:43:32 +02:00
Christophe Riccio
18627cc3d2 When SIMD is enabled, user C++ language extensions on GCC and Clang 2018-08-22 01:51:55 +02:00
Christophe Riccio
6543cc9ad1 Reduced dependencies 2018-08-19 19:33:11 +02:00
Christophe Riccio
ba0f75fb0a Tentative of full rebuild of appveyor 2018-08-19 16:21:21 +02:00
Christophe Riccio
4e5c8e6a27 Simplify messages 2018-08-19 14:50:03 +02:00
Christophe Riccio
43581a0f3a Removed duplicated messages 2018-08-19 14:45:58 +02:00
Christophe Riccio
f84216c735 Clean up messages 2018-08-19 14:35:30 +02:00
Christophe Riccio
7f2d0f2cf4 Fixed SSE4.1 check 2018-08-18 21:14:48 +02:00
Christophe Riccio
82d257abce Fixed Clang warnings 2018-08-18 16:28:09 +02:00
Groove
e19734f6fc Added SIMD perf tests 2018-08-18 16:12:26 +02:00
Groove
72bf05e06e Clean up detection 2018-08-18 13:58:30 +02:00
Groove
27a1b24835 Fixed swizzle build on VC 2018-08-18 13:28:18 +02:00
Groove
6f9a194c2c Fixed VC and C++98 warning 2018-08-18 13:08:36 +02:00
Christophe Riccio
88278df477 Fixed platform detection typo #805 2018-08-18 10:15:11 +02:00
Christophe Riccio
329f0e46f1 Fixed missing types in fwd.hpp #804 2018-08-18 00:02:29 +02:00
Christophe Riccio
c7822ff6ff Fixed swizzle error with C++ 98 2018-08-17 01:10:51 +02:00
Christophe Riccio
803c58c99e Fixed Clang SIMD usage 2018-08-17 00:19:59 +02:00
Christophe Riccio
597ac53f20 Fixed SIMD build 2018-08-16 23:18:13 +02:00
Christophe Riccio
7c379193e7 Fixed GLM_HAS_CXX11_STL detection #802 2018-08-16 17:09:32 +02:00
Christophe Riccio
fceca6cf19 Fixed tests, clean up 2018-08-16 17:03:07 +02:00
Christophe Riccio
8f12f96787 More constexpr 2018-08-16 00:45:31 +02:00
Christophe Riccio
61540a5204 Added missing fmin and fmax overloads 2018-08-15 20:07:12 +02:00
Christophe Riccio
c4ed4ed0c7 Added EXT_scalar_common, EXT_vector_common and EXT_quaternion_exponential extensions 2018-08-15 18:54:04 +02:00
Christophe Riccio
f905aecd23 Sliced matrix transform extension 2018-08-14 00:10:50 +02:00
Christophe Riccio
15fe4e84cc More tests 2018-08-13 21:51:47 +02:00
Christophe Riccio
6c436efacd Fixed build errors 2018-08-13 21:03:53 +02:00
Christophe Riccio
72c3b98e5b Fixed warnings 2018-08-13 20:41:11 +02:00
Christophe Riccio
0e763af6e7 Sliced quaternions into multiple extensions 2018-08-13 19:11:54 +02:00
Christophe Riccio
a21401d2a4 Reduce dependencies, added scalar EXT extensions 2018-08-12 23:27:02 +02:00
Christophe Riccio
02c4d8b15e Fixed doxygen 2018-08-10 01:30:05 +02:00
Christophe Riccio
9abf4a5d68 Updated doxygen doc 2018-08-10 00:27:24 +02:00
Christophe Riccio
522f483a14 Fixed build #800 2018-08-09 19:22:53 +02:00
Christophe Riccio
cb4ca81d9b Clean up quaternion relational API 2018-08-09 14:46:38 +02:00
Christophe Riccio
25f4bce688 Fixed build 2018-08-08 23:18:33 +02:00
Christophe Riccio
9f60b0977c Fixed clang warning 2018-08-08 22:20:30 +02:00
Christophe Riccio
ba8ee44b19 Added EXT_quaternion_relational and EXT_quaternion_geometric extensions 2018-08-08 18:36:20 +02:00
Christophe Riccio
8288f17558 Fixed quaternion SIMD includes #799 2018-08-08 17:42:50 +02:00
Christophe Riccio
cca8569a41 Fixed matrix comparison as constexpr 2018-08-08 00:17:29 +02:00
Christophe Riccio
c1be8bf008 Fixed constexpr relational function and added tests 2018-08-07 23:52:57 +02:00