Commit Graph

4599 Commits

Author SHA1 Message Date
Christophe
af9725719e
Merge pull request #1112 from Goubermouche/master
Fixed a typo in io.hpp #1112
2022-10-24 12:30:09 +02:00
Christophe
03b7f75c75
Merge pull request #1120 from Tachi107/manual.md-fixes
docs(manual): some markdown fixes
2022-10-24 12:28:48 +02:00
Christophe
38b7a1a983
Merge pull request #1107 from stephen-hqxu/cuda-default-function
Force no default function when using CUDA #1107
2022-10-24 12:27:30 +02:00
Christophe
ebf51708ad
Merge pull request #1106 from stephen-hqxu/cuda-qualifier
Add define macro to select CUDA function qualifier #1106
2022-10-24 12:26:36 +02:00
Christophe
8339c77bd6
Merge pull request #1113 from genpfault/fix-noexcept-warnings
GCC: Fix noexcept warnings on hash functions #1113
2022-10-24 12:18:30 +02:00
Christophe
bb4466ec3d
Merge pull request #1114 from gottfriedleibniz/docs/doxygen
cleanup doxygen and codespell #1114
2022-10-24 12:12:54 +02:00
Christophe
b48debf7e8
Merge pull request #1101 from drfiemost/missing_define
Add missing GLM_COMPILER_GCC61 define #1101
2022-10-24 12:08:43 +02:00
Ebi Sadeghi
bfa82837ea
Changed the e^v clarification in source
Earlier I made the change in the html generated by doxygen rather than the source used to generate the documentation.
2022-09-20 20:20:58 -07:00
Roger Leigh
bdf26d258d Make mat4x3 binary operators for scalars consistent with other types 2022-09-20 18:59:34 +01:00
Roger Leigh
7da7f7c887 Make mat4x4 binary operators for scalars consistent with other types 2022-09-20 18:59:34 +01:00
Leandro Nini
06afe0718a
Fix indentation 2022-09-20 18:49:15 +02:00
Andrea Pappacoda
b4a09f5ac0
docs(manual): some markdown fixes
- Add a blank line before block elements (lists, code blocks, etc)
- Remove trailing whitespace
- Use "plaintext" language for code blocks when appropriate
- Fix duplicated section3_4 anchor
- Fix <` to `< in section 4.10
- Always referece images relative to the current directory
- Use markdown-style link instead of HTML href in section 7.13
- Remove extra space before closing emphasis in section 4.18
2022-09-19 22:50:52 +02:00
Roger Leigh
32c2bb8296 Make vec4 binary operators for scalars consistent with other types 2022-09-19 13:15:26 +01:00
Thibault de Villèle [UM]
48e1ff3fee Add glm::abs() function for the glm::mat<> class
This is added as part of the GLM_EXT_matrix_common extension, as this
function is not provided by the core GLSL specification (version 4.20).

The implementation of this glm::abs(mat<>) function mirrors the
glm::abs(vec<>) implementation. It should be functionning the same in
every way as the vec implementation.

Bonus points : AFAICT this allows to vectorize operations on compilers
that support optimization of these patterns, just like the functor1<>
struct in _vectorize.hpp for vectors.
2022-08-29 14:22:10 +02:00
Thibault de Villèle [UM]
ef351e68a3 Fix GLM_EXT_matrix_common compilation message
It was previously printing 'GLM_EXT_matrix_transform is included', which
does not match the extension name.
2022-08-29 13:19:56 +02:00
Charles Huber
4b6284e39d GCC: Fix noexcept warnings on hash functions
Fix warnings on hash functions with GCC and -Wnoexcept:
* Add GLM_HAS_NOEXCEPT flag & GLM_NOEXCEPT #define to setup.hpp.
* Add GLM_NOEXCEPT to hash functions in hash.hpp.
* Add GLM_NOEXCEPT to matrix operator[] accessors.
* Add gtx_hash.cpp and a test to verify all hash overloads compile.
  Configure with -DCMAKE_CXX_FLAGS="-Werror -Wnoexcept" to test.
2022-08-24 15:21:11 -05:00
Gottfried Leibniz
8719fcb839 cleanup doxygen and codespell 2022-08-01 19:25:47 -03:00
Šimon Tupý
12b5fb2a88
Fixed a typo in io.hpp. 2022-07-24 06:04:19 +02:00
Ebi Sadeghi
8415b031f9
Changed variable description from x to v
The description of the function "exp" erroneously referred to "x" rather than "v". Rectified.
2022-07-11 19:55:22 -07:00
Ebi Sadeghi
804ec70c2e
Spelling corrections
Minor grammar and spelling.
2022-07-11 19:50:45 -07:00
Stephen Xu
0b08654ad6
Don't use default function when working with CUDA. 2022-06-03 16:01:35 +01:00
Stephen Xu
e1b2d3d7d5
Add user instructions. 2022-06-02 21:32:12 +01:00
Stephen Xu
3b09445290
Add defines to manually select CUDA function qualifier. 2022-06-02 19:36:50 +01:00
Christophe
cc98465e35
Merge pull request #1049 from borodust/aligned_bugfixes
Various bugfixes for aligned/simd codepaths #1049
2022-04-20 12:39:39 +02:00
Christophe
416d0a23eb
Merge pull request #1078 from maniek2332/gtx-easing-bounce-fix
Fix glm::bounceEaseInOut() easing formula #1078
2022-04-20 12:38:07 +02:00
Christophe
53eb7a2749
Merge pull request #1080 from junjie020/fix_frustumLH_matrix_bug
fix frustumLH projection matrix error #1080
2022-04-20 12:36:24 +02:00
Christophe
8b6e2ffb4a
Merge pull request #1096 from gottfriedleibniz/fix/minmax
fix: associated min/max #1096
2022-04-20 12:33:57 +02:00
Christophe
922f391824
Merge pull request #1100 from baldvin-kovacs/master
Fix implicit conversion compiler error in glm/gtc/random.inl #1100
2022-04-20 12:32:14 +02:00
Christophe
df969513ae
Merge pull request #1085 from jakubtyrcha/fix_msvc_compilation_cxx_20
Fixed MSVC compilation error with C++ 20 #1085
2022-04-20 12:31:30 +02:00
Christophe
c8f3357657
Merge pull request #1088 from xaedes/patch-sort-fwd-mat
Sort inconsistently ordered mat declarations in fwd.hpp #1088
2022-04-20 12:30:43 +02:00
Christophe
b7140ca2c8
Merge pull request #1089 from Zuzu-Typ/patch-2
Removed redundant precision qualifiers #1089
2022-04-20 12:29:48 +02:00
Christophe
1022fdf6d1
Merge pull request #1090 from gottfriedleibniz/fix-neverinline
fix: GLM_NEVER_INLINE #1090
2022-04-20 12:28:19 +02:00
Christophe
f08ee17957
Merge pull request #1091 from yknishidate/bugfix
Fix tengant typo #1091
2022-04-20 12:27:40 +02:00
Christophe
fd265ff18e
Merge pull request #1092 from elect86/patch-5
Update type_vec4.hpp
2022-04-20 12:27:06 +02:00
Christophe
89d0eb1f06
Merge pull request #1094 from gottfriedleibniz/fix/mat2x3
fix mat2 constructors #1094
2022-04-20 12:26:28 +02:00
Christophe
d33344bd86
Merge pull request #1097 from gottfriedleibniz/fix/color
fix hsvColor types #1097
2022-04-20 12:25:48 +02:00
Christophe
43f2a5258b
Merge pull request #1098 from gottfriedleibniz/fix/arm
few ARM fixes #1098
2022-04-20 12:25:14 +02:00
Christophe
b2a9dae6dc
Merge pull request #1099 from Windsander/shearing
feat:    add shearing matrix operation on matrix_transfom #1099
2022-04-20 12:24:33 +02:00
Christophe
816e9b70fb
Merge pull request #1102 from WarEagle451/patch-1
Fix: Spelling mistake #1102
2022-04-20 12:22:55 +02:00
Noah LeBlanc
7243647a78
Spelling mistake fix 2022-02-15 01:54:29 -05:00
Leandro Nini
970860d06f
Add missing define 2022-02-11 15:00:02 +01:00
Baldvin Kovacs
63a229359e Fix implicit conversion compiler error in glm/gtc/random.inl
/glm/gtc/random.inl:25:17: error: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Werror,-Wimplicit-int-conversion]
                                std::rand() % std::numeric_limits<uint8>::max());
                                ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-02-10 22:12:46 +01:00
arikanli
0f318f63af feat: add shearing matrix operation on matrix_transfom 2022-01-20 21:27:30 +08:00
Gottfried Leibniz
3062122e5e fix: associated min/max
Remove unused qualifier and fix incorrect definition
2022-01-14 19:16:44 -04:00
Gottfried Leibniz
bfeb882fdb few ARM fixes 2022-01-14 19:14:27 -04:00
Gottfried Leibniz
14e3b04274 fix hsvColor types 2021-12-27 21:09:01 -04:00
Gottfried Leibniz
b857caa655 fix mat2 constructors 2021-12-13 16:14:40 -04:00
Giuseppe Barbieri
9621e7597e
Update type_vec4.hpp 2021-11-24 10:10:51 +01:00
nishidate-yuki
c5f9b31688 Fix tengant typo 2021-11-17 14:46:17 +09:00
Gottfried Leibniz
656a699f9a fix: glm_never_inline 2021-11-11 09:28:03 -04:00