Commit Graph

4730 Commits

Author SHA1 Message Date
Keiwan Donyagard
a6fcdd0cbc Fixed the SIMD implementation of compute_vec4_equal for floats 2021-02-24 10:51:20 +01:00
Sergey Krivohatskiy
acab24129d
Fixed axisAngle implementation
`acos` domain is in range [-1.0, 1.0]. Due to inaccuracies the value `angleCos` may be slightly outside that range for a correct matrix and `acos(angleCos)` produces `NaN` in that case.

The fix is we check `angleCos` value and return `acos(1)` for `angleCos > 1` and `acos(-1)` for `angleCos < -1`.

The original code checked only for `angleCos` close to `1.0` and returned an incorrect value for `acos(1)`, which is `0`, not  `pi/4`.
2021-02-20 20:16:31 +03:00
Nick Dumas
2fc22e3f3e Fix squered typo
Squered -> Squared
2021-02-16 09:56:30 +08:00
Christophe
6347f62261
Merge pull request #1056 from nowakowsk/adjugate_fix
Missing transposition step in adjugate() for mat2 and mat4 #1056
2021-02-15 14:12:06 +01:00
nowakowsk
eabaf2338b Fixed unit tests for pre-C++11 compilers 2021-02-14 13:03:57 +01:00
nowakowsk
6437133cd2 fix: add missing transposition to adjugate for mat2 and mat4 2021-02-14 12:14:59 +01:00
Krzysztof Kurek
887827b762
Adjust CI to use the newly generated config files 2021-01-31 16:13:05 +01:00
Krzysztof Kurek
3a4b55020e
Make sure installed glm::glm has the includes 2021-01-31 14:50:00 +01:00
Krzysztof Kurek
dd457459b2
Update manual to reflect changes 2021-01-31 14:10:15 +01:00
Krzysztof Kurek
5797373dc2
Fix an issue with CMake versions 3.14 and earlier 2021-01-31 00:49:58 +01:00
Krzysztof Kurek
e936ed35ea
Resolve issues with CMake versions 3.13 and earlier 2021-01-30 23:59:37 +01:00
Krzysztof Kurek
631faffab3
Export targets from top-level CMake file
With some slight reordering of the code
2021-01-30 23:35:37 +01:00
Krzysztof Kurek
3e99386b6f
Include CPack if project is built as standalone 2021-01-30 23:00:41 +01:00
Krzysztof Kurek
f64239743e
Remove the cmake dir superseded by generated files 2021-01-30 22:33:55 +01:00
Krzysztof Kurek
6c9d74c3e0
Generate glmConfigVersion, move glmConfig to its own folder 2021-01-30 22:26:46 +01:00
Krzysztof Kurek
6059c5767b
Export the GLM target 2021-01-30 21:08:48 +01:00
Christophe
3a25105d86
Merge pull request #1047 from gottfriedleibniz/patch/is_identity
fix: isIdentity for non-symmetric matrices #1047
2020-12-27 16:26:39 +01:00
Christophe
bfd439bea5
Merge pull request #1051 from 06needhamt/patch-1
Fix Typo in readme.md #1051
2020-12-12 10:18:18 +01:00
Christophe
eb0dafd972 C.I. SIMD works fine locally but not on Travis.. 2020-12-10 16:13:21 +01:00
christophe-lunarg
ef1a60e1d7 C.I. more SSE3 tests 2020-12-10 12:00:42 +01:00
christophe-lunarg
8ba1d34a9b C.I. Increase configuration converage 2020-12-10 11:38:23 +01:00
christophe-lunarg
41ce855d1e C.I. Updated macOS travis configurations 2020-12-10 11:09:32 +01:00
christophe-lunarg
091ba3f788 C.I. Add coverage for more rescent compilers 2020-12-10 10:32:21 +01:00
christophe-lunarg
d1a585ebf1 C.I. No more SIMD instruction build on GCC 2020-12-10 09:45:00 +01:00
christophe-lunarg
9dca1667fe Merge branch 'master' of github.com:g-truc/glm 2020-12-09 21:44:11 +01:00
christophe-lunarg
bec41ffe51 Fix AVX2 detection 2020-12-09 21:43:38 +01:00
Tom Needham
9da06f73d6
Fix Typo in readme.md
Changed physic to physics
2020-12-09 15:58:26 +00:00
Christophe
d950f17161 C.I.: Reduce number of build 2020-12-08 16:56:39 +01:00
Christophe
a465b0e0d1 C.I. Upgraded osx images 2020-12-08 10:44:14 +01:00
Christophe
ccec730246 C.I. reduced the number of travis configurations 2020-12-08 10:38:54 +01:00
Christophe
15f4a448c4 C.I. fix travis build with Clang 3.6 2020-12-08 09:34:52 +01:00
Christophe
9fcec4bbfa Upgrading Travis C.I. distribution 2020-12-07 22:28:11 +01:00
Christophe
9f3d876120 Upgrading Travis C.I. distribution 2020-12-07 22:13:42 +01:00
Christophe
e5a16329c7 C.I.: Fix Travis C.I. xcode build 2020-12-07 21:12:45 +01:00
Christophe
4c419832a6 C.I.: Fix Travis C.I. xcode build 2020-12-07 20:44:12 +01:00
Gottfried Leibniz
00c4720305 fix: isIdentity for non-symmetric matrices 2020-12-06 11:26:14 -04:00
Christophe
24a4befe80 Fix build 2020-12-01 08:57:06 +01:00
Christophe
e6e73e5e0c Only run Travis C.I. on master branch 2020-12-01 08:43:56 +01:00
Christophe
6dedba1b94
Merge pull request #1044 from g-truc/build_only_master
Build appveyor C.I. only on master branch #1044
2020-11-30 20:31:04 +01:00
Christophe
e011a57cf6
Merge pull request #1043 from g-truc/GLM_EXT_matrix_integer
Added *GLM_EXT_matrix_integer* with tests
2020-11-30 20:30:46 +01:00
Christophe
6c76f78298 Build appveyor C.I. only on master branch 2020-11-30 20:06:23 +01:00
Christophe
561fbbd94c Added *GLM_EXT_matrix_integer* with tests 2020-11-30 18:10:55 +01:00
Christophe
8693d06297 Fix glm::acsch tests 2020-11-26 11:14:54 +01:00
Christophe
db8b101617 verbose 2020-11-24 14:17:07 +01:00
Christophe
5f0baa29b9 Fix build when CMake 2.6 is used not supporting --parallel 2020-11-24 14:13:10 +01:00
Christophe
e24c88cf38 travis ci parallel build and tests 2020-11-24 13:40:21 +01:00
Christophe
2be2119a2b travis ci parallel build and tests 2020-11-24 13:05:18 +01:00
Christophe
315e8d2dba Verbose test 2020-11-24 12:54:17 +01:00
Christophe
03ef41c27a appveyor parallel build and tests 2020-11-24 12:39:54 +01:00
Christophe
25344118d6 appveyor parallel build and tests 2020-11-24 12:35:42 +01:00