Commit Graph

4643 Commits

Author SHA1 Message Date
Christophe
b372627295 Merge branch 'constexpr_matrix' of https://github.com/LucasChollet/glm into constexpr-matrix 2023-12-21 19:27:49 +01:00
Christophe
4ecc8af5b9 trigger C.I. 2023-12-21 18:28:58 +01:00
Christophe
e6b9b76027 trigger C.I. 2023-12-21 18:28:28 +01:00
Christophe
d6e24170b4 Nan is not supported with C++98 2023-12-21 18:14:20 +01:00
Christophe
0ceaba1da9 Nan is not supported with C++98 2023-12-21 18:14:20 +01:00
Christophe
0d52d5ddab Fix master build 2023-12-21 18:14:20 +01:00
Christophe
557f5f2731 Fix test 2023-12-21 17:45:01 +01:00
Christophe
92e945cc8a GLM_EXT_vector_integer: add integer mix tests 2023-12-21 17:45:01 +01:00
christophe
48516f31a7 Fix vec1 types redefinition 2023-12-21 16:16:52 +01:00
christophe
ec6e3d6cb5 Fix invalid namespaces 2023-12-21 16:16:52 +01:00
christophe
4681c5b347 Fix lib build dependent of test build 2023-12-21 15:20:01 +01:00
christophe
820557cf31 Fix GTC_matrix_transform test for C++98 2023-12-21 14:21:29 +01:00
azhirnov
ed1059731f add infinitePerspectiveRH_ZO 2023-12-21 14:12:18 +01:00
azhirnov
9cb19aa43f Added infinitePerspectiveLH_ZO and tests
Renamed infinitePerspectiveLH -> infinitePerspectiveLH_NO
2023-12-21 14:12:18 +01:00
Lucas CHOLLET
505c3908a1 Make mat operators constexpr 2023-12-21 08:00:12 -05:00
christophe
926e5d4b70 Add tau constant ##1153 2023-12-21 13:25:48 +01:00
christophe
85f2e6b998 Add tau constant ##1153 2023-12-21 13:25:48 +01:00
christophe
08f2fd1099 Fix C++20 2023-12-21 13:25:48 +01:00
christophe
edc5e624df Fix build 2023-12-21 13:25:48 +01:00
christophe
f9a5a404dd Fix C.I. file 2023-12-21 13:25:48 +01:00
christophe
bab156f795 add status badge 2023-12-21 13:25:48 +01:00
christophe
46818dccca fix: reinterpret_cast to explicit conversions #1123 2023-12-21 13:25:48 +01:00
christophe
f1bfe6cc95 Fix C++20 build 2023-12-21 13:25:48 +01:00
Christophe
c668158672 Add Clang on Linux 2023-12-21 13:25:48 +01:00
Christophe
e000a4703e Remove AVX2 on macOS 2023-12-21 13:25:48 +01:00
Christophe
53302ad486 Apply suggestions from code review 2023-12-21 13:25:48 +01:00
Christophe
5ae05c9296 Fix GLM_DISABLE_AUTO_DETECTION error with Werror on Windows 2023-12-21 13:25:48 +01:00
Christophe
971f22222e C.I. Fix timeout 2023-12-21 13:25:48 +01:00
Christophe
e27fcc7bbd C.I.: Add more C++ language versions 2023-12-21 13:25:48 +01:00
Christophe
3b21b05ac2 C.I.: Add AVX tests 2023-12-21 13:25:48 +01:00
Christophe
66991e59aa Fix bitCount test version 2023-12-21 10:17:16 +01:00
Christophe
c83236b044 cuda: Fix GTX_vec_swizzle 2023-12-21 00:49:14 +01:00
Christophe
2171a5b818 Fix intersectRayTriangle from GLM_GTX_intersect #1158 2023-12-21 00:47:13 +01:00
Christophe
1682a8c360 Fix doc typo 2023-12-20 23:53:35 +01:00
Christophe
5c008438db doc: Updated readme 2023-12-20 23:51:25 +01:00
Christophe
8a700ad040 More C.I. tests 2023-12-20 23:14:24 +01:00
Christophe
641bb363a7 gni 2023-12-20 22:33:20 +01:00
Christophe
c568980cf5 Revert broken vec4 SIMD 2023-12-20 22:33:20 +01:00
Christophe
edecbf1c59 Revert "Add support for non aligned SIMD for vec4"
This reverts commit 4e01e940de.
2023-12-20 22:33:20 +01:00
Christophe
2d38c41161 Fixes for tests build 2023-12-20 22:33:20 +01:00
Christophe
b90333c124 C.I. Add GitHub Actions 2023-12-20 22:33:20 +01:00
Rafal Bielski
586a402397 Remove the SYCL hacks
This reverts PR #914 which introduced a hacky way to replace
all std namespace maths function calls with sycl namespace ones.

Presumably the original intention was to use GLM functions in SYCL
device code (e.g. on GPUs) and force it to use the maths implementations
optimised for the target device. However, this has been very limited
in scope since the start because GLM relies heavily on function pointers
which are illegal to use inside SYCL device code.

The hacky solution shadowing std namespace with glm::std is problematic
in many ways. One was that it required re-introducing all std symbols used
across GLM codebase back to glm::std. The list of these symbols is difficult
to maintain over time without extensive CI testing and unsurprisingly it got
broken. Any code just including (some of) GLM headers now no longer compiles
with SYCL compilers even if GLM is only used on the host side (CPU code).

Remove this hack to allow SYCL programs using GLM on the host side to compile.

The original hack was tested against the ComputeCpp compiler which is now
phased out in favour of Intel's DPC++. Remove also the mention of ComputeCpp
from README. The statement about "any C++11 compiler" still covers the host
code compilation with DPC++.
2023-11-09 11:37:13 +01:00
Zulleyy3
e623a9cfee Update readme.md to link to new API reference 2023-11-09 11:35:36 +01:00
Christophe
b85861aa09
Merge pull request #1162 from laurentcau/master
Add support for non aligned SIMD for vec4
2023-11-09 11:33:32 +01:00
Laurent Caumont
c2c1d15592 fix cmake version 2023-11-08 15:54:46 +01:00
Laurent Caumont
1b0f61e285 Add support for non aligned SIMD for vec4
It is used as default configuration for Visual Studio 64 bits compilation (needs Language Extension).
code changes:
- add new qualifiers:
  unaligned_simd_highp
  unaligned_simd_mediump
  unaligned_simd_lowp
- add use_simd and replace is_aligned
(code for ARM NEON is added but not tested)
2023-11-08 09:30:26 +01:00
Christophe
47585fde0c
Merge pull request #1136 from RRR784/patch-1
changed GLM_FORCE_QUAT_DATA_WXYZ to GLM_FORCE_QUAT_DATA_XYZW #1136
2023-08-18 15:15:04 +02:00
Christophe
d46ce89c74
Merge pull request #1148 from Vadmeme/master
Made GLM_FORCE_QUAT_DATA_XYZW be supported by most major functions #1148
2023-08-18 15:13:52 +02:00
Christophe
65c16d5da1
Merge pull request #1146 from stephen-hqxu/cuda-constexpr-abs
Fix: CUDA compiler error on constexpr abs function #1146
2023-08-18 15:09:10 +02:00
Christophe
ae668c4e7f
Merge pull request #1144 from stephen-hqxu/cuda-default-function
Revert and fix: Follow-up improvement for #1107 #1144
2023-08-18 15:08:02 +02:00