Commit Graph

4682 Commits

Author SHA1 Message Date
Christophe
7adb4a5040 changelog: Added aligned_*vec3 simd support #1245 2024-02-08 20:41:21 +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
4eb3fe1d7d fcomp: Fix build in C++98 mode 2024-02-07 14:20:28 +01:00
Maximilian Sackel
c9ca4dc77c Implementing fcompMin / fcompMax, closes g-truc/glm#1215 2024-02-07 14:20:28 +01:00
Christophe
7b53739128 Only enable compiler warnings and warnings as error on unit tests 2024-02-06 20:37:11 +01:00
Christophe
ce1362faba Updated changelog 2024-02-06 20:37:11 +01:00
Christophe
b251b22d00 Fixed C++ language auto detection build, disable C++98 warnings with Clang #1235, #1231 2024-02-06 20:37:11 +01:00
Christophe
31a5f56a7c Fix epsilon not declared in color_space.inl #1233 2024-02-06 20:37:11 +01:00
Christophe
7872e05246 Update logo 2024-02-06 20:35:59 +01:00
Christophe
48336e2637 Update logo 2024-02-06 20:30:05 +01:00
junjie020
dcb8496300 replace GLM_FORCE_QUAT_CTOR_XYZW to GLM_FORCE_QUAT_DATA_XYZW 2024-02-06 15:23:54 +01:00
Krzesimir Nowak
38edba1818 Avoid warnings about comparisons being always true
Depending on the signedness of length_t type we may either get
warnings comparison of unsigned expression in ‘>= 0’ being always true
or do insufficient checking by not checking if index is not negative.

Hide the index checking behind a macro that check the index properly.
2024-02-06 15:19:45 +01:00
Björn Wahlstrand
8ebe4b5e57 Fix compare that is always true 2024-02-03 20:06:18 +01:00
Christophe
33b0eb9fa3 Updated doc 2024-01-24 14:43:07 +01:00
christophe
d58f9bcfed GLM bumps to version 1.0.0 2024-01-24 14:26:35 +01:00
Oleksii Chernykh
673a963a0f Added description for fetching glm with cmake in readme.md 2024-01-20 10:11:40 +01:00
Christophe
f86092a658
Remove disabled warnings (#1213)
* Remove disabled warnings
2024-01-20 10:11:13 +01:00
Christophe
b06b775c1c C.I.: Enable manually run tests on PRs 2024-01-03 14:33:27 +01:00
Christophe
da9a21d7e3
Add C++ 20 Modules (#1208)
* Add support for C++20 modules.

---------

Co-authored-by: Nikita Gubarkov <nikita.gubarkov@jetbrains.com>
Co-authored-by: YaaZ <764610@gmail.com>
2023-12-31 11:18:08 +01:00
Stephan Seitz
1d8467f606 Annotate swizzle operations with GLM_FUNC_QUALIFIER
This enables the use of swizzle operations in device code
2023-12-31 11:16:53 +01:00
christophe
d2033739cf Fix quat angle documentation #820 2023-12-30 10:36:28 +01:00
Stéphane GINIER
8d337c0c65
Fix quat packing XYZW usage (#1204) 2023-12-30 09:32:24 +01:00
Christophe
5ce98b7514
Fix hash message (#1205)
Co-authored-by: christophe <christophe@g-truc.net>
2023-12-30 00:29:45 +01:00
Christophe
b6618171dd
Fix GLM_GTX_hash (#1202)
* Fix GLM_GTX_hash, requires C++ 11
2023-12-29 12:50:27 +01:00
Christophe
a40974fb86
Test multiple platforms to test multiple compiler versions (#1199) 2023-12-28 16:50:25 +01:00
Brumus14
7882684a2c Update manual.md
Fixed spelling errors in part 1.1 of manual:
"thought" to "through"
"separated" to "separate"
2023-12-27 10:47:37 +01:00
christophe
5700afbbf8 Add missing extensions in ext.hpp 2023-12-25 22:07:16 +01:00
christophe
8e2bdd1fdb Add GLM_FORCE_UNRESTRICTED_FLOAT to skip static assert when using not float types 2023-12-25 19:45:46 +01:00
christophe
869f9da00e Add GLM_FORCE_UNRESTRICTED_FLOAT to skip static assert when using not float types 2023-12-25 19:45:46 +01:00
christophe
229f3eced4 Add GLM_FORCE_UNRESTRICTED_FLOAT to skip static assert when using not float types 2023-12-25 19:45:46 +01:00
christophe
2993560ec9 Remove dead files 2023-12-23 10:11:26 +01:00
xiaozhuai
89850e6f4b Update readme 2023-12-22 14:51:20 +01:00
xiaozhuai
46b796dd79 Optimize cmake targets 2023-12-22 14:51:20 +01:00
christophe
e4dd44d584 Trying to make sure external contributor trigger C.I. 2023-12-22 12:29:26 +01:00
christophe
e98ad7c9f8 Avoid duplicated C.I. runs 2023-12-22 11:57:51 +01:00
christophe
e357f58c96 gni 2023-12-22 11:50:46 +01:00
Christophe
cf69137d6d quaternion: Revert #1069 2023-12-22 11:50:46 +01:00
Lucas CHOLLET
1cc8e80e3b Make mat operators constexpr 2023-12-22 08:31:22 +01:00
Christophe
fc236e0bf8
Adding constexpr qualifier for helper functions #1050 (#1184)
* Adding constexpr for exterior product

* Adding constexpr for conjugate

* Adding constexpr for dot, cross and inverse quaternion functions

* Adding constexpr for quat lerp

* Adding constexpr to quaternion comparison functions

lessThan, lessThanEqual, greaterThan, greaterThanEqual

* Adding constexpr for mix functions

mix(scalar, scalar), mix(vec, vec, vec), mix(vec,vec,scalar)

* Adding constexpr for sign(vec) and sign(genFIType)

* Initialize result lessThan, lessThanEqual, greaterThan, greaterThanEqual

Default ctor used in constexpr contex generates warning on gcc

* Adding constexpr to cross(vec, qua) and cross(qua, vec)

* Adding constexpr to glm::translate

* Adding constexpr for exterior product

* Adding constexpr for conjugate

* Adding constexpr for dot, cross and inverse quaternion functions

* Adding constexpr for quat lerp

* Adding constexpr to quaternion comparison functions

lessThan, lessThanEqual, greaterThan, greaterThanEqual

* Adding constexpr for mix functions

mix(scalar, scalar), mix(vec, vec, vec), mix(vec,vec,scalar)

* Adding constexpr for sign(vec) and sign(genFIType)

* Initialize result lessThan, lessThanEqual, greaterThan, greaterThanEqual

Default ctor used in constexpr contex generates warning on gcc

* Adding constexpr to cross(vec, qua) and cross(qua, vec)

* Adding constexpr to glm::translate

---------

Co-authored-by: RohacekD <RohacekD@gmail.com>
2023-12-22 08:31:02 +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