Commit Graph

355 Commits

Author SHA1 Message Date
Tom Kneiphof
08a11905cf Fix sign-compare 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
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
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
f86092a658
Remove disabled warnings (#1213)
* Remove disabled warnings
2024-01-20 10:11:13 +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
Mark Sheppard
3cb568cd37 Fix Clang 15 test build errors
Fixes for compiler errors when building the tests using Clang 15,
including:

    * Use explicit cast to silence Wimplicit-int-float-conversion
      warning for conversion of spin count in implementation of
      glm::slerp.
    * Use GLM_FORCE_MESSAGES instead of removed GLM_MESSAGES for
      messages in glm/gtx/hash.hpp, avoiding Wundef warning.
    * Encode en dash in URL for Gram-Schmit Process wikipedia page and
      replace similar en dashes in comments with regular dashes, to
      avoid Winvalid-utf8 warnings in glm/gtx/matrix_factorisation.inl.
    * Replace degree sign symbol with text "degrees" to avoid
      Winvalid-utf8 warnings in test/gtc/gtc_quaternion.cpp.
    * When using Clang, build tests with -Wno-float-equal to silence
      Wfloat-equal warning in implementation of glm::vec<L,T,Q>::equal.
    * For performance tests in test/gtx/gtx_fast_trigonometry.cpp, add
      statement explicitly casting result to void, to silence
      Wunused-but-set-variable warnings.
    * Add newline at end of test/gtx/gtx_hash.cpp to silence
      Wnewline-eof warning.
    * Rename namespace _1aga to agarose in test/gtx/gtx_pca.cpp to
      avoid Wreserved-identifier warning.
2023-03-31 17:39:53 +01:00
Christophe Riccio
2a65978348 Merge branch 'master' of https://github.com/g-truc/glm into matrix-int 2020-03-05 18:52:28 +01:00
Kontny Karol
31d01b525e Quaternion slerp overload which interpolates with extra spins
Signed-off-by: Karol Kontny <barolek@gmail.com>
2020-02-28 00:01:52 +01:00
Christophe Riccio
684817db46 Clean up integer precision 2020-02-08 16:21:22 +01:00
Christophe Riccio
61b2a73e21 Fixed missing std:: namespace #898 2019-09-07 13:41:08 +02:00
Christophe Riccio
6492c8593f - Added mix implementation for matrices in EXT_matrix_common #842 2019-03-01 12:33:09 +01:00
Christophe Riccio
daf14f0f74 Added bitfieldRotate tests #862 2019-03-01 11:33:32 +01:00
Christophe Riccio
ef9d65e0c6 Added GLM_FORCE_INTRINSICS define 2019-01-11 12:58:31 +01:00
Christophe Riccio
32573c86ec Fixed double tests 2018-09-26 15:08:04 +02:00
Christophe Riccio
e259e2789d Fixed double tests 2018-09-26 14:52:55 +02:00
Christophe Riccio
21d0092f6a Fixed simplex noise build with double #734 2018-09-26 12:51:31 +02:00
Christophe Riccio
59cae7b5cb Added constant time ULP distance between float #121 2018-09-26 12:09:06 +02:00
Christophe Riccio
7c445ee93d Clean up GLM_FORCE_DEFAULT_ALIGNED_GENTYPES 2018-08-27 23:25:00 +02:00
Christophe Riccio
87f9f3bd78 Added manual documentation for GLM_FORCE_DEFAULT_ALIGNED_GENTYPES 2018-08-27 21:33:55 +02:00
Christophe Riccio
ba8ee44b19 Added EXT_quaternion_relational and EXT_quaternion_geometric extensions 2018-08-08 18:36:20 +02:00
Christophe Riccio
389fb2457d Added constexpr relational operators 2018-08-06 19:28:42 +02:00
Christophe Riccio
7086d902e2 Fixed relational code, reduced header dependencies 2018-08-05 18:24:22 +02:00
Christophe Riccio
1092810f2f Fixed build 2018-08-02 18:30:46 +02:00
Christophe Riccio
8a79414fb8 Removed type_vec files, deleting unnecessary dependences 2018-08-01 18:41:10 +02:00
Groove
269ae64128 Merged remote master 2018-07-31 23:11:45 +02:00
Groove
fbf3f2016f Refactor configuration macros 2018-07-31 23:05:48 +02:00
Christophe Riccio
0fb8b56f63 Removed useless GLM_FORCE_ALIGNED_GENTYPES 2018-07-31 14:28:14 +02:00
Groove
58255c8603 More aligned type tests 2018-07-29 22:44:09 +02:00
Groove
d4daef9150 Fixed invalid conversion from int scalar with vec4 constructor when using SSE instruction 2018-07-29 22:30:19 +02:00
Groove
d427da09df Fixed aligned matrices #777 2018-07-29 17:09:25 +02:00
Groove
8892c7da59 Fixed build error 2018-07-29 01:06:17 +02:00
Groove
21d030ad3d Fixed error: comparing floating point with == or != is unsafe 2018-07-28 21:06:00 +02:00
Groove
d6b0b9b1ef Fixed error: comparing floating point with == or != is unsafe 2018-07-28 20:51:13 +02:00
Groove
a7e0e8387b Fixed error: comparing floating point with == or != is unsafe 2018-07-28 20:32:26 +02:00
Groove
5ecc27ff93 Fixed error: comparing floating point with == or != is unsafe 2018-07-28 20:24:45 +02:00
Groove
9299abaf9b Fixed float warnings 2018-07-28 12:39:15 +02:00
Christophe Riccio
1afa681512 - Added identity functions #765 2018-07-26 18:00:31 +02:00
Groove
afde3b4645 Added identity experiment #765 2018-07-25 23:27:57 +02:00
Groove
8f0b7c1373 Added missing equal and notEqual with epsilon for quaternion types 2018-07-25 22:16:16 +02:00
Groove
c3c8b73c57 Use constexpr only with C++14 compiler 2018-07-24 23:41:55 +02:00
Groove
97e189606f Added repro test for Conversion error with an aligned matrix #777 2018-07-24 21:33:31 +02:00