Commit Graph

2772 Commits

Author SHA1 Message Date
Christophe Riccio
af6f1d7b8f Fixed EXT_matrix_clip_space perspectiveFov 2020-01-05 15:26:50 +01:00
Khem Raj
d2b9bbb911 Fix Wimplicit-int-float-conversion warnings with clang 10+
This is a new warning in clang which will be available in clang 10
onwards

Fixes
error: implicit conversion from 'const int' to 'float' may lose precision [-Werror,-Wimplicit-int-float-conversion]
2019-12-27 18:44:52 -08:00
Christophe
8828c3f1fd Fixed GLM_EXT_matrix_clip_space warnings #980 2019-12-09 14:21:08 +01:00
Amaury Le Leyzour
9da0c80e26 Yet another fix as this is no longer covered by unit tests 2019-11-21 13:03:22 -08:00
Amaury Le Leyzour
c7dbbee6a1 Fix typo 2019-11-20 09:05:39 -08:00
Amaury Le Leyzour
923f7222d1 Fix Neon issues 2019-11-19 18:26:16 -08:00
Amaury Le Leyzour
9ce038104c Fixing minor compiler issue 2019-11-19 17:30:57 -08:00
Amaury Le Leyzour
77d797bd54 respect project's coding style 2019-11-12 15:49:26 -08:00
Amaury Le Leyzour
a2403634da glm-aarch64: Add neon's mat4 inverse 2019-11-12 15:41:53 -08:00
Christophe Riccio
3da0e18de7 Added missing quat constexpr #955 2019-11-06 15:03:32 +01:00
Christophe Riccio
95b1cdbbfe Added fma implementation based on std::fma #969 2019-11-06 10:57:35 +01:00
Christophe Riccio
9caadbdf86 Added CMake GLM interface #963 2019-11-02 16:47:21 +01:00
Christophe Riccio
919e72f5dd Fixed equal ULP variation when using negative sign #965 2019-11-02 12:46:15 +01:00
Christophe
46670b794b
Merge pull request #963 from kiroma/master
Re-add the glm interface library in cmake #963
2019-11-02 11:27:28 +01:00
Christophe
c11944cf02
Merge pull request #950 from amaury-ml/neon-func
More simd/Neon functions #950
2019-11-02 11:17:26 +01:00
Krzysztof Kurek
e791090589
Re-add the glm interface library in cmake
Also re-work the main cmakelists to make the project more easily embeddable
2019-10-15 14:49:30 +02:00
Amaury Le Leyzour
8a173352e4 More simd/Neon functions 2019-09-18 09:47:57 -07:00
Amaury Le Leyzour
88a7aee27b More simd/Neon functions 2019-09-17 16:16:38 -07:00
Stefan Maass
e7d51a3838 bugfix intersection ray/plane, added related tests 2019-09-14 23:38:44 +02:00
Amaury Le Leyzour
9b0a0535ce Fixing GLM_MODEL for Windows compilers targeting ARM 2019-09-10 11:28:50 -07:00
Amaury Le Leyzour
e508cc604f More simd/Neon functions 2019-09-10 10:55:59 -07:00
Amaury Le Leyzour
c35bc3d576 Fix Arm 64bit detection
__aarch64__ is the correct way, __arm64__ is for iOS.
But the memory model does not need any of these architecture defines to be fully
relevant. __LP64__ means Long Pointer 64 (ie 64bits), and __ILP32__ is Integer Long Pointer 32 (ie 32bits).
That's enough and avoids errors like __arch64__ (correct way is __aarch64__) but forgets __arm64__ (iOS).
2019-09-10 10:44:45 -07:00
Christophe
5868657413
Merge pull request #946 from qsantos/patch-1
Fix loss of precision on small angles in qua's pow #946
2019-09-09 12:31:24 +02:00
Quentin Santos
3a41107d10 Fix precision loss on small angles in qua's angle 2019-09-08 18:31:50 +02:00
Quentin Santos
c597094980 Fix precision loss on small angles in qua's pow 2019-09-08 18:31:50 +02:00
Christophe Riccio
4db8f89aac Fixed quaternion array access #942 2019-09-08 15:58:42 +02:00
Christophe Riccio
73df95205f Fixed doxygen doc 2019-09-07 17:39:53 +02:00
Christophe Riccio
f4b3fc7733 Added missing genType check for bitCount and bitfieldReverse #893 2019-09-07 14:53:58 +02:00
Christophe Riccio
bfa028ed13 Fixed build 2019-09-07 14:34:49 +02:00
Christophe Riccio
943529eef6 Fixed CUDA 9 build #910 2019-09-07 14:32:06 +02:00
Christophe Riccio
2bd4217685 Fixed build 2019-09-07 14:09:36 +02:00
Christophe Riccio
a5fd70aed8 Fixed Clang or GCC build due to wrong GLM_HAS_IF_CONSTEXPR definition #907 2019-09-07 13:52:41 +02:00
Christophe Riccio
61b2a73e21 Fixed missing std:: namespace #898 2019-09-07 13:41:08 +02:00
Christophe Riccio
9d18fc8221 Fixed warning 2019-09-07 12:21:47 +02:00
Christophe Riccio
87bed133e7 Fixed warning 2019-09-07 12:15:00 +02:00
Christophe Riccio
9ca99751f0 Merge branch 'master' of https://github.com/g-truc/glm 2019-09-07 11:16:41 +02:00
Christophe Riccio
247beeb5bf Bring back quaternion to xyzw storage to remain backward compatible #942 2019-09-07 11:16:05 +02:00
Christophe
bd32be3ebd
Merge pull request #928 from l90lpa/lMaxNorm-proposal
L max norm proposal #928
2019-09-07 11:10:10 +02:00
Christophe Riccio
d2c60e08c0 Merge branch 'neon' of https://github.com/amaury-ml/glm 2019-09-07 11:06:19 +02:00
Christophe Riccio
79787bbff6 Fixed GLM_HAS_CXX11_STL broken on Clang with Linux #926 2019-09-07 10:51:19 +02:00
Christophe Riccio
0d0638e7e7 Bring back quaternion to xyzw storage to remain backward compatible #942 2019-09-07 10:40:06 +02:00
Amaury Le Leyzour
d2aa30fe92 Remove debug warnings 2019-09-03 10:14:30 -07:00
Amaury Le Leyzour
cd3cc166b4 Add Neon to glm
A few simple functions that use Neon as compiler does not
use the full potential of Neon
For now, -DGLM_FORCE_NEON is required until it's the default
2019-08-28 11:30:40 -07:00
Liam
2c3bdccb01
Merge branch 'master' into lMaxNorm-proposal 2019-08-25 09:03:13 +01:00
Pierre Moreau
5bbbb460d3
Add missing '@' in the documentation
"param" was not being recognised as a keyword, messing up the layout of
`glm::rotation()`'s parameter description.
2019-08-08 12:20:23 +02:00
Christophe
67d647ae46 Fixed version 2019-08-08 11:25:08 +02:00
Christophe
163f0d162d Tentative fix build 2019-08-08 11:09:59 +02:00
Christophe
29987a3100 Fixed prevPowerOfTwo build 2019-08-08 10:51:19 +02:00
Christophe
8bf26a2bb3 Fixed C++ 98 build 2019-08-07 15:00:50 +02:00
Christophe
22af215da4 Merge branch 'master' of https://github.com/g-truc/glm 2019-08-07 14:13:16 +02:00