614 Commits

Author SHA1 Message Date
0xf00ff00f
b1fed40786 Make min, max, mix and clamp constexpr
These functions were already marked constexpr in the header, but their
implementations relied on non-constexpr functions. Mark those as
constexpr.
2026-01-02 13:46:40 +01:00
christophe
24a14718fe Removed initializer list C++98 workarounds 2025-10-21 18:12:36 +02:00
christophe
ef7c6e0c8a Remove custom make_unsigned 2025-10-20 12:57:45 +02:00
christophe
07bc4e11b3 Remove C++11 feature checks 2025-10-20 12:57:45 +02:00
christophe
ab5c4c6ee8 Remove GLM_HAS_STATIC_ASSERT C++11 workarounds 2025-10-20 12:57:45 +02:00
christophe
1da632dddd Remove has C++11 STL 2025-10-20 12:57:45 +02:00
christophe
cfec72509a Deprecate C++98 to 14 2025-10-18 09:26:30 +02:00
Francisco José Letterio
8bed9b37fd Update tests for uSubBorrow 2025-10-11 09:27:03 +02:00
christophe
c11bff7853 Fix macOS latest 2025-01-22 09:54:31 +01:00
christophe
fe26a526cd Fix macOS C.I. 2025-01-22 09:12:28 +01:00
christophe
242233ea20 Fix macOS C.I. test 2025-01-22 00:43:36 +01:00
christophe
97995f4713 Fix intrinsics test 2025-01-22 00:36:32 +01:00
Christophe
08a6421adb Fix macOS C.I. issue 2025-01-21 23:58:25 +01:00
Adam Lusch
1926a11cac Test to reproduce build failure 2024-09-03 17:34:19 -05:00
Laurent Caumont
4137519418 Simd improvement
- Add simd aligned_vec3 (and sse aligned_dvec3 - 2 x xmm)
- Fast packed_vec3 <=> aligned_vec3 and packed_vec4 <=> aligned_vec4 conversion
- Fast aligned_vec3 <=> aligned_vec4 conversion
- Optimized aligned_mat x aligned_mat and aligned_mat x aligned_vec
- Inverse aligned_mat3 simd version (actually slower than ssid on my computer even it has 30% less instruction ?)
2024-03-19 15:00:13 +01:00
Tom Kneiphof
c32a481dd4 Fix additional clang issues 2024-03-12 15:57:53 +01:00
Tom Kneiphof
0df8dcb454 Supporess unused-variable warnings 2024-03-12 15:57:53 +01:00
Tom Kneiphof
08a11905cf Fix sign-compare warnings 2024-03-12 15:57:53 +01:00
Dmitry Marakasov
dcc5cfdc4a Cast clock_t to match printf format specifier
This is needed since clock_t type is unspecified and may differ from unsigned int.
2024-03-05 00:20:29 +01:00
Christophe
adf31f555e Revert SIMD improv 7f2a5b89b3 2024-02-14 10:49:35 +01:00
Christophe
1ac95994c4 Fixed SIMD smoothstep 2024-02-10 17:09:18 +01:00
Christophe
b101e8f3de Fixed SIMD implementation #1222 2024-02-09 14:19:23 +01:00
Christophe
90f2b025b1 Fixed EXT_matrix_transform inverted shear matrix multiple #1140 #1182 2024-02-08 20:42:33 +01:00
Christophe
9e72e5ae67 Fix and ignore warnings 2024-02-08 20:35:21 +01:00
Laurent Caumont
7f2a5b89b3 Simd improvement
- Add simd aligned_vec3 (and sse aligned_dvec3 - 2 x xmm)
- Fast packed_vec3 <=> aligned_vec3 and packed_vec4 <=> aligned_vec4 conversion
- Fast aligned_vec3 <=> aligned_vec4 conversion
- Optimized aligned_mat x aligned_mat and aligned_mat x aligned_vec
- Inverse aligned_mat3 simd version (actually slower than ssid on my computer even it has 30% less instruction ?)
2024-02-08 20:35:21 +01:00
Christophe
88a6ed6ee1 Visual C++: Enables /Wall 2024-02-08 15:15:31 +01:00
Christophe
f86092a658 Remove disabled warnings (#1213)
* Remove disabled warnings
2024-01-20 10:11:13 +01:00
Christophe
a40974fb86 Test multiple platforms to test multiple compiler versions (#1199) 2023-12-28 16:50:25 +01:00
Christophe
cf69137d6d quaternion: Revert #1069 2023-12-22 11:50:46 +01:00
Christophe
66991e59aa Fix bitCount test version 2023-12-21 10:17:16 +01:00
Christophe
641bb363a7 gni 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
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
olga
97e09aa304 Fix round test
Depending on the developer environment, the output of round for o.5 or -0.5 may be different (according to the GLSL spec). So the test was too restrictive.
2023-01-13 14:08:46 +01:00
arikanli
0f318f63af feat: add shearing matrix operation on matrix_transfom 2022-01-20 21:27:30 +08: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
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
christophe-lunarg
9dca1667fe Merge branch 'master' of github.com:g-truc/glm 2020-12-09 21:44:11 +01:00
christophe-lunarg
bec41ffe51 Fix AVX2 detection 2020-12-09 21:43:38 +01:00
Christophe
561fbbd94c Added *GLM_EXT_matrix_integer* with tests 2020-11-30 18:10:55 +01:00
Christophe
2593c9c8b3 Added GLM_EXT_scalar_reciprocal and GLM_EXT_vector_reciprocal with tests 2020-11-23 15:33:36 +01:00
Christophe Riccio
028b303a65 Fixed CXX tests 2020-01-05 21:14:53 +01:00
Christophe Riccio
79b5197e5d Fixed CXX tests 2020-01-05 21:12:11 +01:00
Christophe Riccio
a68949eba4 Fixed force cxx version tests 2020-01-05 21:09:37 +01:00
Christophe Riccio
2d8ccef1af Tentative fix of GLM_FORCE_QUAT_DATA_WXYZ on Clang with tests 2020-01-05 21:07:42 +01:00
Christophe Riccio
3ee3659adb Added force defines tests 2020-01-05 20:57:20 +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
tnixeu
49d89a0009 uses all variables in test 2019-10-26 14:58:56 +02:00
Christophe Riccio
61b2a73e21 Fixed missing std:: namespace #898 2019-09-07 13:41:08 +02:00