Christophe
083dfdcb91
Fixed build
2019-08-07 14:11:22 +02:00
Christophe
23b184f64d
Merge pull request #927 from l90lpa/fix-lxNorm
...
Fix lx norm #927
2019-08-07 13:49:34 +02:00
Christophe
e620adac1b
Fixed build
2019-08-07 13:46:52 +02:00
Christophe
7cb9607ffb
Fixed quaternion initialization
2019-08-07 13:39:36 +02:00
Liam Adams
2400954df2
Add lMaxNorm for computing the max norm.
2019-07-20 08:01:59 +01:00
Liam Adams
7d20bc8104
Take the absolute vaue of the components to avoid possible negative norm values.
2019-07-19 17:53:19 +01:00
Christophe
947527d3ac
Fixed string_cast, broken after fixing #916
2019-07-12 23:11:27 +02:00
Christophe
cb9cd7ccb8
Fixed GTC_round build
2019-07-12 22:20:57 +02:00
Christophe
2423d607fe
Fixed GCC warning about member initialization order
2019-07-12 22:11:42 +02:00
Christophe
4074dfcf07
Added findNSB functions and tests
2019-07-12 21:50:30 +02:00
Christophe
72f776b280
Fixed build
2019-07-12 19:40:59 +02:00
Christophe
9fbd011cab
Fixed merge
2019-07-12 19:24:04 +02:00
Christophe
f5381ef536
Fixed quaternion componant order: w, {x, y, z} #916
2019-07-12 19:19:10 +02:00
Christophe
3a65b7a628
Completed EXT_*_integer extensions
2019-07-12 18:46:08 +02:00
Christophe
3288df2f89
Added EXT_vector_integer test
2019-07-12 15:44:17 +02:00
Christophe
27b622e968
Merged master
2019-07-11 16:13:23 +02:00
Christophe
4fc28977d6
Merge pull request #920 from inviwo/feature/hash-qua
...
Hash hashes qua instead of tquat closes #919 #920
2019-07-09 13:46:47 +02:00
Christophe
513af73cc4
Merge pull request #921 from inviwo/feature/gcc6-standard-version
...
Fix for g++6 where -std=c++1z sets __cplusplus to 201500 instead of 201402 #921
2019-07-09 13:45:53 +02:00
Jonas Karlsson
81dfda4cf3
Fix gcc if constexpr error
...
Check against __cplusplus version instead of compiler version. This fixes compilation errors when using an older cpp standard version with a newer gcc compiler. This flag requires GCC 4.7 or greater.
2019-07-03 09:47:14 +02:00
Peter Steneteg
598a3dc7b7
Fix for g++6 where -std=c++1z sets __cplusplus to 201500 instead of 201402
2019-06-26 12:49:39 +02:00
Peter Steneteg
9a1f85ae79
Hash hashes qua instead of tquat closes #919
2019-06-26 12:48:40 +02:00
Christophe
1a2d6cba99
Merge pull request #902 from Zuzu-Typ/master
...
Fixed typo #902
2019-06-21 16:18:02 +02:00
Christophe
ab45359c36
Merge pull request #903 from Zuzu-Typ/ext_vector_double1
...
Fixed typos #903
2019-06-21 16:17:44 +02:00
Christophe
5726c5ce71
Merge pull request #904 from Zuzu-Typ/gauss_rand
...
Silence C4244 warning #904
2019-06-21 16:17:15 +02:00
Christophe
7d6145ea3d
Merge pull request #908 from Zuzu-Typ/2019-06-03-09-25
...
Fixed copy and paste errors #908
2019-06-21 16:16:32 +02:00
rhoarau
2a8822865c
Fix typos and code style (space to tab).
2019-06-16 13:33:02 +02:00
rhoarau
1079444f7e
Remove a preprocessor debug message and correct the readme
2019-06-09 17:25:43 +02:00
rhoarau
8fb71ffd07
Initial SYCL support:
...
The core and some ext functions should work.
2019-06-09 16:05:09 +02:00
Zuzu-Typ
537bc3a1d1
Fixed typo
...
Wrong title of GLM_GTC_round
2019-06-03 14:35:04 +02:00
Zuzu-Typ
b15bbffe5a
Update packing.hpp
2019-06-03 09:29:32 +02:00
Zuzu-Typ
bc70a03adc
Use static_cast instead of C-style
2019-05-29 12:20:11 +02:00
Zuzu-Typ
a201957cf9
Silence C4244 warning
...
Silenced a C4244 warning in gaussRand.
2019-05-28 16:10:58 +02:00
Zuzu-Typ
2800604781
Fixed typo
2019-05-28 16:02:22 +02:00
Zuzu-Typ
24c0d923b0
Fixed typo
2019-05-23 20:36:26 +02:00
Christophe Riccio
9c831a1a76
Added performance tests
2019-05-03 18:24:49 +02:00
Christophe Riccio
a91fb705db
Added EXT_vector_integer extension
2019-04-26 19:01:12 +02:00
Christophe Riccio
07c6d56b5f
Added initial work for integer vector and scalar functions
2019-04-26 18:32:06 +02:00
Christophe
f420e483b6
Merge pull request #895 from Zuzu-Typ/master
...
Fixed ldexp and frexp declaration #895
2019-04-22 12:38:07 +02:00
Christophe
d5760d9cd0
Merge pull request #890 from oliver-om/qua_conversion_const
...
Add const to quaternion conversion operators #890
2019-04-22 12:34:55 +02:00
Zuzu-Typ
a66068f7ef
Fixed ldexp and frexp declaration
2019-04-10 21:27:05 +02:00
andoalon
0053354086
Fix typo in 'pi()'
2019-04-08 12:41:27 +02:00
Oliver Whyte
fe6fb29107
Add const to quaternion conversion operators
2019-04-05 11:27:00 -07:00
Christophe Riccio
13d2cea73f
Added
2019-04-04 14:01:05 +02:00
Christophe Riccio
229b762c31
Added Visual C++ 2019 detection
2019-04-04 12:24:02 +02:00
Christophe Riccio
d162eee1e6
Fixed GLM version
2019-04-02 11:28:25 +02:00
Christophe
1498e094b9
Merge pull request #887 from timmmeh/master
...
'if constexpr' warning (c++17) #887
2019-04-01 17:00:59 +02:00
Christophe
3de80d2b31
Merge pull request #886 from Zuzu-Typ/master
...
Forward declaration of frexp and ldexp #886
2019-04-01 16:59:07 +02:00
Christophe
d92e83c91f
Merge pull request #882 from ddovod/fixing_macro_redefined
...
Fixing 'GLM_ENABLE_EXPERIMENTAL macro redefined' warning #882
2019-04-01 16:56:08 +02:00
Christophe Riccio
f846aa8334
Build errors when defining GLM_ENABLE_EXPERIMENTAL #884 #883
2019-04-01 16:04:04 +02:00
Tim R
f0685972f1
Update setup.hpp
2019-04-01 00:26:04 -07:00
Tim R
2877c42a36
Update setup.hpp
2019-03-31 18:00:30 -07:00
Tim R
fe6c08ea10
Update setup.hpp
2019-03-31 17:47:11 -07:00
Tim R
a03e1fc8f4
Update setup.hpp
2019-03-31 16:53:40 -07:00
Tim R
cf74190dfd
Update setup.hpp
2019-03-31 15:06:44 -07:00
Tim R
80679fd523
Update matrix_clip_space.inl
2019-03-31 15:02:54 -07:00
Tim R
0bb41224f3
Update matrix_transform.inl
2019-03-31 15:01:13 -07:00
Tim R
94f685c111
Update setup.hpp
2019-03-31 15:00:24 -07:00
Tim R
b0f6910f0c
Update setup.hpp
2019-03-31 14:14:10 -07:00
Tim R
e4ab1096ce
Update matrix_clip_space.inl
2019-03-31 13:11:56 -07:00
Tim R
59f2c2d50e
Update matrix_transform.inl
2019-03-31 13:11:08 -07:00
Tim R
658bbdb525
Update setup.hpp
...
Enable 'if constexpr' when c++17
2019-03-31 13:08:57 -07:00
Tim R
503a22960a
constexpr warning
...
Removes warning: conditional expression is constant, consider using 'if constexpr' statement instead
2019-03-31 12:21:20 -07:00
Tim R
8755be56d6
Update matrix_transform.inl
2019-03-31 12:15:15 -07:00
Zuzu-Typ
b76297c8ff
Forward declaration of frexp and ldexp
2019-03-31 18:29:56 +02:00
ddovod
81db9eb8c9
Fixing 'GLM_ENABLE_EXPERIMENTAL macro redefined' warning
2019-03-28 13:24:35 +03:00
Christophe
ca8372490e
Revert "CMakeLists.txt: remove libraries"
2019-03-13 11:36:50 +01:00
Fabrice Fontaine
3b798fe06b
CMakeLists.txt: remove libraries
...
glm is a heaser-only library, libraries are not needed
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2019-03-12 13:23:18 +01:00
Khem Raj
1150952697
glm: Remove redundant double semi-colons
...
Make clang happy
/glm/gtc/../ext/../detail/../simd/common.h:106:45: error: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Werror,-Wextra-semi-stmt]
| glm_vec4 const or0 = _mm_or_ps(and0, and1);;
| ^
| 1 error generated.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-01 11:13:28 -08:00
Christophe Riccio
477e803f38
- No more requirement for GLM_ENABLE_EXPERIMENTAL to use GTX extension, only a warning with GLM_MESSAGES defined #732
2019-03-01 18:25:15 +01:00
Christophe Riccio
3c28cc459a
Improved documentation #836
2019-03-01 15:55:10 +01:00
Christophe Riccio
c142d46ca3
Fixed glm::decompose #869
2019-03-01 15:50:44 +01:00
Christophe
ebdc1cb9d2
Merge pull request #867 from SuperSodaSea/master
...
Remove duplicate calculations #867
2019-03-01 12:47:20 +01:00
Christophe
a40bd4d01c
Merge pull request #871 from ffontaine/master
...
CMakeLists: add BUILD_{SHARED,STATIC}_LIBS options #871
2019-03-01 12:40:06 +01:00
Christophe Riccio
6492c8593f
- Added mix implementation for matrices in EXT_matrix_common #842
2019-03-01 12:33:09 +01:00
Christophe Riccio
96e7eb52ac
Fixed build
2019-03-01 12:06:17 +01:00
Christophe Riccio
f30db00b74
Fixed int8 being defined as unsigned char with some compiler #839
2019-03-01 11:42:20 +01:00
Christophe Riccio
6b62e66a7d
Fixed mix implementation to improve GLSL conformance #866
2019-03-01 11:20:01 +01:00
Christophe Riccio
768dad4df0
Fixed constexpr with GCC
2019-03-01 11:01:45 +01:00
Fabrice Fontaine
efd91329ba
CMakeLists: add BUILD_{SHARED,STATIC}_LIBS options
...
Add BUILD_SHARED_LIBS and BUILD_STATIC_LIBS options to allow the user
to enable/disable building of shared and static library
This is especially useful when cross-compiling as some toolchains are
not always able to build a shared or a static library
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2019-02-17 00:06:35 +01:00
SuperSodaSea
89a4d957e9
Remove duplicate calculations
...
In inverseTranspose(mat<4, 4, T, Q>), SubFactor07 is the same as SubFactor11. Remove it.
2019-02-04 13:37:54 +08:00
Christian Oliveros
3125f83f16
Fix for GLM_HAS_CXX11_STL detection
...
Fix to the bug with the GLM_HAS_CXX11_STL detection using Clang and VS Toolchain on Windows due to the lack of libc++ on Windows.
2019-01-17 10:51:12 -04:00
Willy Scheibel
1d757f5347
Add missing include to vec1
2019-01-11 22:53:29 +01:00
Christophe Riccio
ef9d65e0c6
Added GLM_FORCE_INTRINSICS define
2019-01-11 12:58:31 +01:00
Christophe
ddebaba033
Merge pull request #831 from MrVallentin/typos
...
Fixed typos #831
2018-11-05 20:08:16 +01:00
Christophe Riccio
cc80d7674b
Fixed in mat4x3 conversion #829
2018-11-05 20:03:55 +01:00
MrVallentin
a8953c672f
Fixed typos
2018-11-05 13:47:57 +01:00
Christophe Riccio
3ffcfb8f12
Fixed implicit conversion on Clang Android #824
2018-10-24 14:57:40 +02:00
Christophe Riccio
980dfabcd7
Added message for GLM_SWIZZLE deprecation
2018-10-24 14:54:12 +02:00
Cort Stratton
eaca81874f
Suppress struct-padding warning on vec3s with GLM_CONFIG_ALIGNED_GENTYPES + GLM_CONFIG_SILENT_WARNINGS
2018-10-09 13:13:39 +02:00
Cort Stratton
7d527af1ec
Minor formatting changes for existing messages (add trailing periods)
2018-10-09 13:12:24 +02:00
Cort Stratton
fd00b057da
Add message when GLM_FORCE_DEFAULT_ALIGNED_GENTYPES is defined and enabled
2018-10-09 13:12:01 +02:00
Florian Penzkofer
d0ae3f966e
Fix bitfieldInsert according to GLSL spec
...
"bitfieldInsert inserts the bits least significant bits of insert into base at offset offset..."
2018-10-04 17:23:44 -05:00
Christophe Riccio
77ce9b5b29
Tentative fix of GCC 6 tests
2018-10-01 14:19:08 +02:00
Christophe Riccio
3d26f49775
Added GLM_FORCE_ALIGNED_GENTYPES to enable aligned types and SIMD instruction are not enabled. This disable constexpr #816
2018-09-30 21:52:09 +02:00
Christophe Riccio
68c7e7e50b
Tentative fix constexpr with GCC
2018-09-30 11:07:11 +02:00
Christophe Riccio
d1487eec8e
Fixed build
2018-09-27 11:44:08 +02:00
Christophe Riccio
3b607947a7
Merge branch 'dev' of https://github.com/g-truc/glm into dev
2018-09-27 11:40:16 +02:00
Christophe Riccio
1362d51967
Added adjugate functions to GTX_matrix_operation #151
2018-09-27 11:39:52 +02:00
Christophe Riccio
d3282d8177
Fixed build
2018-09-26 23:31:12 +02:00
Christophe Riccio
d884410781
Fixed build
2018-09-26 22:50:00 +02:00