Christophe
db0f79de12
Merge pull request #1137 from tetrisplusplus/fix_glm_gtx_matrix_query_isOrthogonal
...
fix: isOrthogonal for a zero matrix #1137
2023-08-18 15:04:55 +02:00
Christophe
99fe1c8f7d
Merge pull request #1142 from thp/recompose
...
gtx_matrix_decompose: Add glm::recompose() #1142
2023-08-18 14:55:41 +02:00
Christophe
13b40e378a
Merge pull request #1147 from marksheppard/fix
...
Fix Clang 15 test build errors #1147
2023-08-18 14:52:55 +02:00
Christophe
684822982b
Merge pull request #1150 from fsmoke/gcc-warnings-fix
...
gcc x64 build warning fix around type casting size_t to int #1150
2023-08-18 14:49:45 +02:00
Christophe
b5776a91ae
Merge pull request #1154 from tomix1024/fix-atan2-declaration
...
Fix atan2(y,x) #1154
2023-08-18 14:48:57 +02:00
Christophe
b3a6570096
Merge pull request #1118 from rleigh-codelibre/float-sig-consistency
...
Make vec4, mat4x3 and mat4x4 binary operators and contructors for scalars consistent with other types #1118
2023-08-18 14:46:24 +02:00
Tom Kneiphof
21db8fbdcb
Fix atan2(y,x)
2023-07-10 12:28:42 +02:00
Christophe
5c46b9c070
Merge pull request #1149 from leokolln/patch-1
...
Fix docs, incorrect and inconsistent handiness descriptions #1149
2023-06-08 17:08:47 +02:00
Gergely Racz
6486113379
apply static_cast before calling mask
in bitfieldInsert
2023-05-12 11:09:41 +02:00
kostromin
d4717fb57e
gcc x64 build warning fix around type casting size_t to int
2023-04-21 10:49:22 +03:00
Léo Willian Kölln
738b4375c3
Fix docs, inconsistent spelling of handiness
2023-04-18 01:14:18 -03:00
Léo Willian Kölln
cbc5229400
Fix docs, left and right handness were swapped
2023-04-18 01:03:24 -03: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
Thomas Perl
4afe953bff
gtx_matrix_decompose: Add glm::recompose()
2023-02-26 18:33:47 +01:00
tetrisplusplus
e48b2a72c8
Improved performace.
2023-01-23 21:41:27 +09:00
tetrisplusplus
96b1c72bfc
Fixed isOrthogonal, return false for zero matrix
2023-01-23 21:27:02 +09:00
Gottfried Leibniz
36aa3e75b2
fix: declarations
2023-01-09 17:48:57 -04:00
Thibault de Villèle [UM]
1c18fca789
Fix GLM_EXT_matrix_common : row to column-major
...
The previous patch made the incorrect assumption matrices were row-major
instead of column-major (got the two mixed up in my head).
This fixes this problem.
Also, this extends the test files to cover all matrix sizes (not types,
that would be redundant).
2022-10-26 11:17:23 +02:00
Christophe
0a6d3334ea
Merge pull request #1086 from imgly/imgly/fix/vdivq_f32_undefinded_armv7
...
Fixed use of undeclared identifier 'vdivq_f32' while compile for ARMv7 #1086
2022-10-24 12:54:34 +02:00
Christophe
e250ffe36d
Merge pull request #1109 from EbiSadeghi/master
...
Documentation: spelling, grammar, and clarity #1109
2022-10-24 12:50:49 +02:00
Christophe
7b9d310dbd
Merge pull request #1116 from Thibaulltt/master
...
GLM_EXT_matrix_common : add glm::mat<> support to glm::abs() #1116
2022-10-24 12:33:54 +02:00
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
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
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
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