Commit Graph

4802 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
Forward-Fax3
2436fe7671 SIMD dot product and normalization changes (#1427)
* added aligned_highp/medp normalization
2026-01-01 22:43:36 +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
mariob92
5f9187f0f2 Implement #1370 (reflection matrix calculation) 2025-12-08 15:21:32 +01:00
Francisco Facioni
a583c59e16 Fix initialization of vec in unary operator- 2025-11-06 23:45:25 +01:00
Francisco Facioni
36e7a9ad69 Fix initialization of vector in convert_splat
When templating on types that don't have implicit constructors this fails
2025-11-06 23:45:25 +01:00
T3hD0gg
d34c19ecd0 Ensure swizzle compatibility with GLM_FORCE_SIZE_T_LENGTH
Replace `int N` with `length_t N` for the base swizzle templates to ensure compatibility with `GLM_FORCE_SIZE_T_LENGTH`.
2025-10-22 03:22:38 +02:00
christophe
8a57c6e65e More clean up 2025-10-22 03:21:43 +02:00
christophe
745a96db47 Clean up 2025-10-22 01:27:01 +02:00
christophe
a97b747110 Use noexcept 2025-10-21 22:38:49 +02:00
christophe
a624f74d97 Use C++14 deprecate attribute 2025-10-21 22:38:49 +02:00
christophe
9ecd2c0849 Add C++ 23 detection 2025-10-21 22:38:42 +02: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
b2ae990346 Remove int64 custom implementation 2025-10-20 12:57:45 +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
18a1c9d44c Build GLM with minimum the use of C++17 2025-10-18 16:30:19 +02:00
christophe
9ce89d682b Revert Quaternion rotation order 2025-10-18 12:23:01 +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
c95f725f65 Fix convert_vec4_to_vec3 2025-10-16 09:33:52 +02:00
Christophe
5913e3f486 Updated API doc for 1.0.2 2025-10-15 13:05:14 +02:00
Tea
e577e1cee8 Fixed quaternion rotate 2025-10-15 09:37:34 +02:00
Adam Lusch
4b6e9a5d6f Enable test for NEON 2025-10-15 09:34:48 +02:00
Adam Lusch
0990b42583 NEON mask order is flipped 2025-10-15 09:34:48 +02:00
Adam Lusch
279f55d7eb Avoid "implicit conversion increases floating-point precision: 'float' to 'double'" 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
Francisco José Letterio
7ff85fcae6 Update func_integer.inl
Fix uSubBorrow
2025-10-11 09:27:03 +02:00
Christophe
12bfe6887a Revert "Update func_integer.inl"
This reverts commit 4962d27b37.
2025-10-10 22:15:21 +02:00
Francisco José Letterio
4962d27b37 Update func_integer.inl 2025-10-10 09:29:17 +02:00
chenjiannan
a5d56f93b2 update api documentation link in manual.md 2025-10-10 09:28:17 +02:00
YaaZ
89d15b7c99 Organize includes 2025-10-07 08:42:19 +02:00
Adam Lusch
be1fb4daa4 Add packed/aligned quat types 2025-10-07 08:41:51 +02:00
SamiMD
3058381e2e The returned value of a quaternion scalar division and multiplication must be a quaternion 2025-10-06 21:43:09 +02:00
Oleg Morozov
35f93adc50 Fix tag typo in CMake section of readme.md 2025-10-06 19:56:46 +02:00
ZXShady
65a83c9025 Add begin,end support for glm 2025-10-06 19:19:40 +02:00
Steven French
2a12657308 some more min/max wrappings 2 2025-10-06 19:19:03 +02:00
Steven French
8c55406e88 some more min/max wrappings 2025-10-06 19:19:03 +02:00
Steven French
59268156f5 wrap min/max calls in brackets 2025-10-06 19:19:03 +02:00
1neskk
5db3b61b3d Add GLM_FUNC_QUALIFIER to TMin and TMax operator overloads 2025-10-06 17:48:09 +02:00
cmd05
78049f1f2e Add constexpr to normalize 2025-10-06 08:58:47 +02:00
Christophe
c10f4f2352 Fixing github C.I. 2025-10-05 23:05:40 +02:00
Ayush Sharma
e771488592 Update qualifier.hpp
Fix incorrect type for storage<3, unsigned int, true> in SSE2 
Previously defined as glm_i32vec4, now correctly set to glm_u32vec4.
2025-09-23 09:24:48 +02:00