Commit Graph

1295 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
Alfredo Tupone
8f6213d379 Update CMake minimum version and policy range 2025-12-08 15:21:53 +01:00
mariob92
e282990dc0 Implement g-truc#1370 (reflection matrix calculation)
- add reflect2D
- rewrite functions to accept an input matrix
- add tests
2025-12-08 15:21:32 +01:00
christophe
24a14718fe Removed initializer list C++98 workarounds 2025-10-21 18:12:36 +02:00
christophe
c33f2fa56a Remove integer C++11 workaround 2025-10-21 15:59:19 +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
Adam Lusch
b0a359c6f3 Enable GLM_FORCE_EXPLICIT_CTOR in test for xyz and friends 2025-10-16 09:33:52 +02:00
Adam Lusch
4b6e9a5d6f Enable test for NEON 2025-10-15 09:34:48 +02:00
Adam Lusch
7e4b80ec23 Fix windows warning for div by 0 in test 2025-10-12 15:37:13 +02:00
Adam Lusch
2bd65b13d9 Make test more specific 2025-10-12 15:37:13 +02:00
Adam Lusch
3aed772ae9 isfinite support for quaternions 2025-10-12 15:37:13 +02:00
Francisco José Letterio
8bed9b37fd Update tests for uSubBorrow 2025-10-11 09:27:03 +02:00
Adam Lusch
be1fb4daa4 Add packed/aligned quat types 2025-10-07 08:41:51 +02:00
ZXShady
65a83c9025 Add begin,end support for glm 2025-10-06 19:19:40 +02:00
Christophe
c10f4f2352 Fixing github C.I. 2025-10-05 23:05:40 +02:00
ZXShady
e54e16f3da Add C++17 structureed binding support
Add C++17 Structured Bindings support for vec,mat,quat types
2025-01-22 21:40:13 +01:00
christophe
af69cb1a6e Fix macOS C.I. 2025-01-22 10:20:01 +01: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
christophe
abcc96b4b9 Fix macOS C.I. 2025-01-21 18:50:33 +01:00
Christophe
9e6f0ec1f6 Disable GTX test failing on Ubuntu latest GCC 13.3.0 2025-01-21 17:42:41 +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
Tom Kneiphof
c48d16b911 Fix sequence-point warnings 2024-03-12 15:57:53 +01:00
Christophe
7a812397a2 Disable unit tests by default to avoid C.I. time out 2024-03-06 15:43:46 +01:00
Christophe
61caae4d05 Fix GTX_norm cyclic include 2024-03-06 10:58:47 +01:00
Noah Hitz
49942a611c Fixed typos 2024-03-05 00:21:20 +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
f8df2f3e2e Trying to fix C.I. timeout... 2024-02-28 11:45:24 +01:00
Christophe
be3beb7788 Disable test that time out on C.I.? 2024-02-28 11:45:24 +01:00
Christophe
0892ccd214 Quicker tests for C.I. 2024-02-28 11:45:24 +01:00
Christophe
1f25000a30 Quicker unit tests 2024-02-28 11:45:24 +01:00
Christophe
adf31f555e Revert SIMD improv 7f2a5b89b3 2024-02-14 10:49:35 +01:00
Christophe
5d73e17e58 Added C++17 [[nodiscard]] support #1217 2024-02-10 17:09:18 +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