Commit Graph

4698 Commits

Author SHA1 Message Date
Zuzu-Typ
1ed9bd96a9
Removed invalid precision qualifiers
`saturate(T x)` and `atan2(T x, T y)` have precision qualifiers as function template parameters, but they don't use (or need) them.
Removed these two qualifiers
2021-11-03 10:30:22 +01:00
xaedes
b5456a56a3 Sort inconsistently ordered mat declarations in fwd.hpp 2021-10-26 19:10:33 +02:00
Sven Nähler
a47a719b17 Fixed: use of undeclared identifier 'vdivq_f32' while compile for ARMv7 2021-10-07 09:45:00 +02:00
jakubtyrcha
318d7f2398 Fixed error C3861: 'Lv': identifier not found
This diagnostic occurred in the compiler generated function 'glm::vec<1,T,Q> &glm::vec<1,T,Q>::operator |=(const glm::vec<1,A,Q> &)'
2021-09-18 19:26:01 +01:00
Christophe
6ad79aae3e
Merge pull request #1082 from psychocoderHPC/topic-HIPsupport
add AMD HIP support #1082
2021-09-02 16:54:41 +02:00
Pavel Korolev
401cc833ef Various bugfixes for aligned/simd codepaths 2021-08-08 00:43:30 +03:00
René Widera
a1d88cf991 add AMD HIP support
Add support for AMD HIP.
2021-08-05 11:54:10 +02:00
Christophe
06ed280db4
Merge pull request #1081 from xaedes/patch-1
Fixed header comment #1081
2021-07-31 23:46:22 +02:00
xaedes
a8b3401574
Fixed header comment
Info how to include this header file contained a wrong path. Changed it to the correct one.
2021-07-27 12:59:03 +02:00
junjie020
5f95999f32 fix frustumLH projection matrix get wrong result when left/right or top/bottom is not symmetries 2021-07-16 11:22:43 +08:00
Christophe
2759ceca04
Merge pull request #1079 from BramblePie/Change_orientedAngle_function
Change orientedAngle function #1079
2021-07-15 09:57:29 +02:00
Christophe
f0066a2acf
Merge pull request #1074 from szabolcsdombi/quaternion-constructor-parameters-fix
make quaternion constructor respect GLM_FORCE_QUAT_DATA_XYZW
2021-07-15 09:56:22 +02:00
Bram Pieters
90e85225f5 Change orientedAngle function 2021-06-24 15:03:12 +02:00
Christophe
84f2045a79
Merge pull request #1076 from stephomi/decompose_wxyz
Fix matrix decompose (wxyz quaternion) #1076
2021-06-07 21:29:54 +02:00
Christophe
8efb7408b5
Merge pull request #1077 from sgrottel/gtx-pca-test-rework
Reworked test for GTX PCA #1077 #1071
2021-06-07 21:27:24 +02:00
Mariusz Okulanis
eb23f89db2 fix glm::bounceEaseInOut() easing formula 2021-06-07 16:39:24 +02:00
SGrottel
104c1214ee Avoid fp comparison of glm::sign return value by introducing a sign comparison helper function 2021-06-05 16:43:47 +02:00
SGrottel
5dbba35275 Changed test functions to explicitly define comparison epsilons.
Updated 1aga expected computation results, based on external experiment based on precise / symbolic computation
Unified result comparison to always use `vectorEpsilonEqual` or `matrixEpsilonEqual`
2021-06-05 16:30:40 +02:00
Stéphane GINIER
f32eea1345 Fix matrix decompose (wxyz quaternion) 2021-06-01 16:16:16 +02:00
Christophe
66062497b1
Merge pull request #1075 from Robadob/nvrtc_support
BugFix: CUDA RTC support #1075
2021-05-23 18:03:02 +02:00
Robert Chisholm
00a195c687 BugFix: CUDA RTC support.
Someone noticed that c6dfaed would also catch GLM_COMPILER_GCC8
2021-05-19 14:15:57 +01:00
Szabolcs Dombi
820a2c0e62 make quaternion constructor respect GLM_FORCE_QUAT_DATA_XYZW 2021-05-17 08:40:22 +03:00
Christophe
70f67cb457
Merge pull request #1072 from g-truc/travis-update
Use default clang version of distribution
2021-05-15 12:51:02 +02:00
Christophe
dc9e555b4c
Merge pull request #1071 from sgrottel/gtx-pca
Implemented 'principle component analysis' utility in gtx #1071
2021-05-15 12:50:27 +02:00
Christophe
c6dfaed4a3
Merge pull request #1073 from Robadob/nvrtc_support
Correctly detect NVRTC and lack of stl support #1073
2021-05-15 12:31:00 +02:00
Robert Chisholm
948ac3b825 Add missing statement.
Didn't copy this across, good thing CI caught it.
2021-05-14 10:38:02 +01:00
Robert Chisholm
aa7380ae12 Fix lint. 2021-05-13 22:33:49 +01:00
Robert Chisholm
f0f95bd3de Correctly detect NVRTC and lack of stl support. 2021-05-13 22:13:04 +01:00
SGrottel
d71dba9603 Introduced a second, less precise comparison epsilon for the tests for now. 2021-05-11 07:44:40 +02:00
SGrottel
18d9b97aa4 Further increased comparison float epsilon, and further test batch testEigenvectors also failes.
Added debug output to `testEigenvectors` in case the error persists.
2021-05-10 23:36:17 +02:00
SGrottel
593b7cc36b Increased float comparison epsilon to pass tests. 2021-05-10 22:49:57 +02:00
SGrottel
a0ccbcc63d Added further details on the comparison issue with covariance matrices on some VMs.
Also corrected some code style guide, and changed `nullptr` to `GLM_NULLPTR` for better compatibility.
Tests are now executed in blocks of related tests, and only inbetween blocks the tests will exit.
2021-05-10 21:32:01 +02:00
SGrottel
d0d7945141 Additional debug output to investigate why test-gtx_pca fails on some VMs on Travis.
Also, reworked the `#if` about CXX11; did not seem to work correctly.
2021-05-10 19:35:57 +02:00
SGrottel
c792a0a221 Disabled tests requiring random engine when CXX11 STL is not available.
Added missed `typename` keywords, and fixed variable initialization.
2021-05-10 17:48:35 +02:00
SGrottel
0f5b544d5d Corrected errors on Xcode C++98 pure related to language extensions accidentially used. 2021-05-10 16:38:38 +02:00
SGrottel
b8adc27808 Removed lambdas and initializer list ctors to be compatible with older cpp standards. 2021-05-10 15:45:42 +02:00
Christophe
ddb6678c23 Use default clang version of distribution 2021-05-10 14:11:17 +02:00
Christophe
4abd46483a Fix Travis C.I. build 2021-05-10 13:34:39 +02:00
SGrottel
dd40903b74 Implemented 'principle component analysis' utility in gtx, including tests 2021-05-10 13:14:29 +02:00
Christophe
6e2b7eedd2
Merge pull request #1069 from Blurgyy/quaternion-sane-default
Fix constructor of struct qua to honor macro "GLM_FORCE_QUAT_DATA_WXYZ" #1069
2021-05-07 09:23:48 +02:00
Gaoyang Zhang
de7c83f1b6 Update test for GLM_FORCE_QUAT_DATA_XYZW
Signed-off-by: Gaoyang Zhang <gy@blurgy.xyz>
2021-05-06 14:12:41 +08:00
Gaoyang Zhang
59ddeb7d1c Replace GLM_FORCE_QUAT_DATA_WXYZ with GLM_FORCE_QUAT_DATA_XYZW
The default data layout for quat has been changed to w,x,y,z to agree
with order of input parameters for quat's constructor.

Signed-off-by: Gaoyang Zhang <gy@blurgy.xyz>
2021-05-06 14:12:41 +08:00
Gaoyang Zhang
d573bf099a Revert "Fix constructor of struct qua to honor macro "GLM_FORCE_QUAT_DATA_WXYZ""
This reverts commit f931c4996a.
2021-05-06 14:12:23 +08:00
Gaoyang Zhang
f6f3596a6b Revert "Fix construction of identity quaternion"
This reverts commit 37842c7400.
2021-05-06 14:12:22 +08:00
Gaoyang Zhang
43b81f49fc Revert "Fix test due to change of default constructor of qua"
This reverts commit e800c41c0a.
2021-05-06 14:12:16 +08:00
Gaoyang Zhang
e800c41c0a Fix test due to change of default constructor of qua
Signed-off-by: Gaoyang Zhang <gy@blurgy.xyz>
2021-05-03 00:32:17 +08:00
Gaoyang Zhang
37842c7400 Fix construction of identity quaternion
Signed-off-by: Gaoyang Zhang <gy@blurgy.xyz>
2021-05-03 00:31:09 +08:00
Gaoyang Zhang
f931c4996a Fix constructor of struct qua to honor macro "GLM_FORCE_QUAT_DATA_WXYZ"
Signed-off-by: Gaoyang Zhang <gy@blurgy.xyz>
2021-05-02 23:09:59 +08:00
Christophe
761a842a59
Merge pull request #1062 from tksuoran/fix-cmake
Fix CMake FetchContent usage #1062
2021-04-05 13:27:48 +02:00
Christophe
820607ad2b
Merge pull request #1064 from SergeyKrivohatskiy/fix-axisAngle-for-small-angles
Fix axis angle implementation for near zero angles and near PI angles #1064
2021-04-05 13:25:56 +02:00