Commit Graph

4666 Commits

Author SHA1 Message Date
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
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
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