Commit Graph

2871 Commits

Author SHA1 Message Date
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
Christophe Riccio
a30dc0f6f5 Fixed build 2018-09-26 22:43:34 +02:00
Christophe Riccio
76683aa287 Added vector ulp functions 2018-09-26 18:27:55 +02:00
Christophe Riccio
84d5e96144 Clean up dead files 2018-09-26 12:51:51 +02:00
Christophe Riccio
21d0092f6a Fixed simplex noise build with double #734 2018-09-26 12:51:31 +02:00
Christophe Riccio
9b0434255f Deleted useless file 2018-09-26 12:12:48 +02:00
Christophe Riccio
59cae7b5cb Added constant time ULP distance between float #121 2018-09-26 12:09:06 +02:00
Christophe Riccio
0f4a597f10 Added matrix relationak function taking ULPs 2018-09-25 15:05:55 +02:00
Christophe Riccio
6b622f2ed4 Tentative fix of GCC build 2018-09-24 11:08:09 +02:00
Christophe Riccio
906efb8045 Fixed VC2013 build 2018-09-21 15:36:01 +02:00
Christophe Riccio
d5df61aa66 Fixed tests 2018-09-21 15:25:54 +02:00
Christophe Riccio
635ff4ef2d Added GLM_FORCE_SILENT_WARNINGS to silent GLM warnings when using language extensions but using W4 or Wpedantic warnings #814 #775 2018-09-18 22:35:28 +02:00
Christophe Riccio
b2a7f1093c Added vector retionnal with max ULPs arguments and fixed double support 2018-09-17 19:06:02 +02:00
Christophe Riccio
311f59ed7e Added vector retionnal with max ULPs arguments 2018-09-17 18:46:02 +02:00
Christophe Riccio
e5d6b1c64b Merged master 2018-09-17 11:48:15 +02:00
Christophe Riccio
770498a407 updated GLM version for future GLM 0.9.9.3 2018-09-14 13:28:24 +02:00
Christophe Riccio
fe83040cbd Fixed default initialization with vector and quaternion types using GLM_FORCE_CTOR_INIT #812 2018-09-10 15:45:01 +02:00
Christophe Riccio
72327cea4f Added equal and notEqual overload with max ULPs parameters for scalar numbers #121 2018-09-04 02:14:48 +02:00
Christophe Riccio
cf6504b65e Fixed GLM_FORCE_CXX** section in the manual 2018-09-03 23:53:45 +02:00
Christophe Riccio
416fa93e42 Added PDF manual 2018-09-03 23:15:27 +02:00
Christophe Riccio
49b508a1ab Updated doxygen API documentation 2018-08-31 21:32:56 +02:00
Christophe Riccio
9dcdae8e8f Updated doxygen API documentation 2018-08-31 20:46:32 +02:00
Christophe Riccio
0b974f0d00 Improved doxygen API doc 2018-08-31 20:23:27 +02:00
Christophe Riccio
99eb6b3cc6 Improved manual and API documentations 2018-08-30 12:06:10 +02:00
Christophe Riccio
62e4c59d8d More manual documentation 2018-08-30 01:04:26 +02:00
Christophe Riccio
b40c557f25 Improved EXT extensions documentation 2018-08-30 00:16:14 +02:00
Christophe Riccio
556f657936 Fixed doxygen failure 2018-08-29 21:50:57 +02:00
Christophe Riccio
45d7fc8c4e Improved doxygen doc 2018-08-29 14:28:01 +02:00
Christophe Riccio
a0c47aced6 Clean up doxygen documentation 2018-08-29 10:56:55 +02:00
Christophe Riccio
0e3c9f0d7d Added reference to other extensions 2018-08-29 01:34:02 +02:00
Christophe Riccio
34f0c510b6 Fixed doxygen 2018-08-29 00:05:54 +02:00
Christophe Riccio
37504928bb Fixed API documentation references and filenames 2018-08-28 21:55:47 +02:00
tigertang
84b6247093 Modify glm::refract according to GLSL man page: return vector zero when full reflection happens #806 2018-08-28 11:25:04 +08:00
Christophe Riccio
abdb9fa3a2 Fixed display of GLM version as part of GLM build messages 2018-08-28 01:12:15 +02:00
Christophe Riccio
e12d724143 Added backward compatibility with GLM_FORCE_ALIGNED, replaced by GLM_FORCE_DEFAULT_ALIGNED_GENTYPES 2018-08-27 23:29:09 +02:00
Christophe Riccio
76580af80e Clarified refract valid range of the indices of refraction, between -1 and 1 inclusively #806 2018-08-27 23:13:02 +02:00
Christophe Riccio
f56011fb20 Fixed aligned test on compilers that doesn't support it 2018-08-27 22:11:17 +02:00
Christophe Riccio
2fdc2dc748 Clarify the support of constexpr 2018-08-27 20:19:19 +02:00
Christophe Riccio
978df09b00 Clean up manual highlight 2018-08-25 22:45:01 +02:00
Christophe Riccio
de4dbc5662 Improved disabling auto detection 2018-08-22 21:43:32 +02:00
Christophe Riccio
18627cc3d2 When SIMD is enabled, user C++ language extensions on GCC and Clang 2018-08-22 01:51:55 +02:00
Christophe Riccio
6543cc9ad1 Reduced dependencies 2018-08-19 19:33:11 +02:00
Christophe Riccio
ba0f75fb0a Tentative of full rebuild of appveyor 2018-08-19 16:21:21 +02:00
Christophe Riccio
4e5c8e6a27 Simplify messages 2018-08-19 14:50:03 +02:00
Christophe Riccio
43581a0f3a Removed duplicated messages 2018-08-19 14:45:58 +02:00
Christophe Riccio
f84216c735 Clean up messages 2018-08-19 14:35:30 +02:00
Christophe Riccio
7f2d0f2cf4 Fixed SSE4.1 check 2018-08-18 21:14:48 +02:00
Christophe Riccio
82d257abce Fixed Clang warnings 2018-08-18 16:28:09 +02:00
Groove
e19734f6fc Added SIMD perf tests 2018-08-18 16:12:26 +02:00
Groove
72bf05e06e Clean up detection 2018-08-18 13:58:30 +02:00
Groove
27a1b24835 Fixed swizzle build on VC 2018-08-18 13:28:18 +02:00
Groove
6f9a194c2c Fixed VC and C++98 warning 2018-08-18 13:08:36 +02:00
Christophe Riccio
88278df477 Fixed platform detection typo #805 2018-08-18 10:15:11 +02:00
Christophe Riccio
329f0e46f1 Fixed missing types in fwd.hpp #804 2018-08-18 00:02:29 +02:00
Christophe Riccio
c7822ff6ff Fixed swizzle error with C++ 98 2018-08-17 01:10:51 +02:00
Christophe Riccio
803c58c99e Fixed Clang SIMD usage 2018-08-17 00:19:59 +02:00
Christophe Riccio
597ac53f20 Fixed SIMD build 2018-08-16 23:18:13 +02:00
Christophe Riccio
7c379193e7 Fixed GLM_HAS_CXX11_STL detection #802 2018-08-16 17:09:32 +02:00
Christophe Riccio
fceca6cf19 Fixed tests, clean up 2018-08-16 17:03:07 +02:00
Christophe Riccio
8f12f96787 More constexpr 2018-08-16 00:45:31 +02:00
Christophe Riccio
61540a5204 Added missing fmin and fmax overloads 2018-08-15 20:07:12 +02:00
Christophe Riccio
c4ed4ed0c7 Added EXT_scalar_common, EXT_vector_common and EXT_quaternion_exponential extensions 2018-08-15 18:54:04 +02:00
Christophe Riccio
f905aecd23 Sliced matrix transform extension 2018-08-14 00:10:50 +02:00
Christophe Riccio
15fe4e84cc More tests 2018-08-13 21:51:47 +02:00
Christophe Riccio
6c436efacd Fixed build errors 2018-08-13 21:03:53 +02:00
Christophe Riccio
72c3b98e5b Fixed warnings 2018-08-13 20:41:11 +02:00
Christophe Riccio
0e763af6e7 Sliced quaternions into multiple extensions 2018-08-13 19:11:54 +02:00
Christophe Riccio
a21401d2a4 Reduce dependencies, added scalar EXT extensions 2018-08-12 23:27:02 +02:00
Christophe Riccio
02c4d8b15e Fixed doxygen 2018-08-10 01:30:05 +02:00
Christophe Riccio
9abf4a5d68 Updated doxygen doc 2018-08-10 00:27:24 +02:00
Christophe Riccio
522f483a14 Fixed build #800 2018-08-09 19:22:53 +02:00
Christophe Riccio
cb4ca81d9b Clean up quaternion relational API 2018-08-09 14:46:38 +02:00
Christophe Riccio
25f4bce688 Fixed build 2018-08-08 23:18:33 +02:00
Christophe Riccio
9f60b0977c Fixed clang warning 2018-08-08 22:20:30 +02:00
Christophe Riccio
ba8ee44b19 Added EXT_quaternion_relational and EXT_quaternion_geometric extensions 2018-08-08 18:36:20 +02:00
Christophe Riccio
8288f17558 Fixed quaternion SIMD includes #799 2018-08-08 17:42:50 +02:00
Christophe Riccio
cca8569a41 Fixed matrix comparison as constexpr 2018-08-08 00:17:29 +02:00
Christophe Riccio
c1be8bf008 Fixed constexpr relational function and added tests 2018-08-07 23:52:57 +02:00
Christophe Riccio
13ca6771ca Fixed constexpr build... 2018-08-07 20:44:44 +02:00
Christophe Riccio
6d34ae4c5e Refactor EXT headers 2018-08-07 18:41:41 +02:00
Christophe Riccio
26be7bda82 Fixed build 2018-08-07 14:46:56 +02:00
Christophe Riccio
8c9d16d868 Added quaternion EXT extensions 2018-08-07 13:55:13 +02:00
Christophe Riccio
c191e6cfe9 Fixed header directories 2018-08-07 12:42:11 +02:00
Christophe Riccio
310b8405c9 Refactor split headers as extension files 2018-08-07 10:46:09 +02:00
Christophe Riccio
cf6bf16d62 Make matrix relational constexpr 2018-08-07 01:22:19 +02:00
Christophe Riccio
65655abd32 Make all core vector relational constexpr 2018-08-07 00:55:13 +02:00
Christophe Riccio
234d82e39d Fixed extension names and API doc 2018-08-07 00:20:17 +02:00
Christophe Riccio
eead9500ef Fixed Deleted dead files 2018-08-06 21:29:28 +02:00
Christophe Riccio
389fb2457d Added constexpr relational operators 2018-08-06 19:28:42 +02:00
Christophe Riccio
1d9a8028e4 Reduced exposed API, reduced included dependencies 2018-08-05 19:04:40 +02:00
Christophe Riccio
7086d902e2 Fixed relational code, reduced header dependencies 2018-08-05 18:24:22 +02:00
Christophe Riccio
78879c675c Refactor headers 2018-08-05 15:22:49 +02:00
Christophe Riccio
fd21f939d8 Rename headers to sort the files 2018-08-03 16:35:48 +02:00
Christophe Riccio
1092810f2f Fixed build 2018-08-02 18:30:46 +02:00
Christophe Riccio
8a79414fb8 Removed type_vec files, deleting unnecessary dependences 2018-08-01 18:41:10 +02:00
Christophe Riccio
e1d21258e7 Split headers to improve compilation time #670 2018-08-01 18:24:31 +02:00
Christophe Riccio
428a468d13 Sliced ext relational extensions 2018-08-01 12:10:27 +02:00
Christophe Riccio
3f0bed6dce Refactor vec1 implementation 2018-08-01 11:01:47 +02:00
Groove
d6673ffafe Fixed doc error 2018-07-31 23:58:36 +02:00
Groove
5898692fc0 Fixed doc error 2018-07-31 23:37:26 +02:00
Groove
f758b48121 Fixed build 2018-07-31 23:26:05 +02:00
Groove
269ae64128 Merged remote master 2018-07-31 23:11:45 +02:00
Groove
fbf3f2016f Refactor configuration macros 2018-07-31 23:05:48 +02:00
Christophe Riccio
0fb8b56f63 Removed useless GLM_FORCE_ALIGNED_GENTYPES 2018-07-31 14:28:14 +02:00
Groove
63aceae081 Fixed SSE1 code generation 2018-07-30 23:26:25 +02:00
Groove
cd58024e40 - Fixed infinite loop in random functions when using negative radius values using an assert #739 2018-07-29 23:30:35 +02:00
Groove
d4daef9150 Fixed invalid conversion from int scalar with vec4 constructor when using SSE instruction 2018-07-29 22:30:19 +02:00
Groove
147d56d90c Can't see values for vec or mat in the debugger #665 2018-07-29 22:11:15 +02:00
Groove
09fb7dedbe Added missing aligned matrix types to GTC_type_aligned 2018-07-29 18:08:02 +02:00
Groove
d427da09df Fixed aligned matrices #777 2018-07-29 17:09:25 +02:00
Groove
d18c7f55ec Tentative fix Visual C++ build 2018-07-29 16:13:21 +02:00
Groove
c53b98abb6 Full coverage of constexpr of vec types 2018-07-29 13:01:07 +02:00
Groove
d0472e0676 Improved constexpr coverrage 2018-07-29 12:04:18 +02:00
Groove
472f2c13b7 Improved constexpr support 2018-07-29 00:33:09 +02:00
Groove
178314a67d Added constexpr test #794 2018-07-29 00:06:31 +02:00
Groove
2e3fc5da83 Fixed error: comparing floating point with == or != is unsafe 2018-07-28 21:35:59 +02:00
Groove
3e364981e8 Fixed error: comparing floating point with == or != is unsafe 2018-07-28 21:18:15 +02:00
Groove
633ca9a2f0 Fixed build 2018-07-28 17:01:06 +02:00
Groove
456dde14f4 Fixed error: comparing floating point with == or != is unsafe 2018-07-28 14:48:16 +02:00
Groove
4dce0e338d Added vector relational tests 2018-07-26 23:33:10 +02:00
Christophe Riccio
1afa681512 - Added identity functions #765 2018-07-26 18:00:31 +02:00
Christophe Riccio
6afce5da27 Added missing equal and notEqual function for mat 2018-07-26 11:54:04 +02:00
Christophe Riccio
6e7bad6bbc Fixed API doc 2018-07-26 11:22:31 +02:00
Groove
751bc4f7f7 - Added missing equal and notEqual with epsilon for matrix types in EXT_vector_relational 2018-07-26 00:03:31 +02:00
Groove
8f0b7c1373 Added missing equal and notEqual with epsilon for quaternion types 2018-07-25 22:16:16 +02:00
Groove
01f9ab5b6d Revert "- Fixed unexpected operator== behavior #723"
This reverts commit c46981b4c3.
2018-07-25 00:40:39 +02:00
Groove
c46981b4c3 - Fixed unexpected operator== behavior #723 2018-07-25 00:23:38 +02:00
Groove
c3c8b73c57 Use constexpr only with C++14 compiler 2018-07-24 23:41:55 +02:00
Groove
87ecf4a233 Fixed Visual C++ 2013 warnings in vector relational code #782 2018-07-24 21:04:48 +02:00
Groove
2b22509678 Fixed VC2015 build with GLM_FORCE_CTOR_INIT 2018-07-24 20:49:38 +02:00
Groove
bf7cc4a002 Merge branch 'master' of https://github.com/g-truc/glm 2018-07-24 20:15:14 +02:00
Groove
e1cddde7d5 Fixed VC2013 build 2018-07-24 20:15:08 +02:00
Groove
ea1fccae5e Fixed definision and declarion constexpr miss match 2018-07-24 00:50:58 +02:00
Christophe Riccio
0b39a77057 Fixed build errors 2018-07-23 20:53:38 +02:00
Christophe Riccio
0e11546a3d Removed unused messages 2018-07-23 20:44:11 +02:00
Christophe Riccio
988858145c Added intersectLineTriangle tests 2018-07-23 20:42:38 +02:00
Christophe Riccio
b0d585dc18 Clean up 2018-07-23 20:14:48 +02:00
Christophe Riccio
7c9c8cbd6f Fixed clang build 2018-07-23 20:13:40 +02:00
Christophe Riccio
bb0f4ef324 Fixed build error 2018-07-23 20:05:12 +02:00
Christophe Riccio
b6321cb85e Clean up configuration defines 2018-07-23 19:38:57 +02:00
Christophe Riccio
1644f0f489 Removed restriction #if defined(GLM_FORCE_UNRESTRICTED_GENTYPE) 2018-07-23 18:59:09 +02:00
Christophe Riccio
96bf3c0d95 Removed GLM_FORCE_SWIZZLE and GLM_FORCE_UNRESTRICTED_GENTYPE restriction 2018-07-23 18:53:10 +02:00
Christophe Riccio
4e574af7ac Fixed GLM_USE_ALIGNED_GENTYPES initialization 2018-07-23 18:45:43 +02:00
Christophe Riccio
508d0bcbb1 Fixed defaulted constructor and fixed anonymous struct detection and use 2018-07-23 16:02:21 +02:00
Christophe Riccio
ba4a4c6014 Added missing template parameters, removed GLM_DEFAULT_CTOR 2018-07-23 12:02:55 +02:00
Groove
7e3f42eeda Fixed initialisation 2018-07-21 18:07:24 +02:00
Groove
848800b5c4 Fixed glm::ortho #790 2018-07-21 17:52:40 +02:00
Groove
9a0311f327 Fixed Visual C++ language detection 2018-07-20 00:40:49 +02:00
Groove
7f9cb53c54 Fixed Visual C++ 2013 2018-07-15 11:47:32 +02:00
Christophe Riccio
61e68f2667 Fixed swizzle functions and operators tests 2018-07-14 19:56:13 +02:00
Christophe Riccio
a23dd2f800 Clean up CMake project, added arithmetic operators to swizzle operators types 2018-07-14 19:14:08 +02:00
Christophe Riccio
ac1f60997c Fixed GCC and Cland build 2018-07-14 18:29:49 +02:00
Christophe Riccio
9029ac9315 Removed dead file 2018-07-14 18:28:43 +02:00
Christophe Riccio
4db3abe6b5 Refactored GLM_FORCE_MESSAGES, added swizzle operators and functions tests 2018-07-14 17:56:40 +02:00
Christophe Riccio
d50c699515 Fixed SIMD support detection 2018-07-14 16:38:42 +02:00
Christophe Riccio
657ca108ed Fixed Visual C++ language detection 2018-07-14 16:22:17 +02:00
Christophe Riccio
cb3436886e Fixed Clang build 2018-07-14 15:56:30 +02:00
Groove
f27a24de0e Refactor GLM messages and build targets 2018-07-14 00:17:46 +02:00
Groove
5c543e65f8 Fixed build 2018-07-12 21:03:14 +02:00
Groove
802532de0f Fixed build 2018-07-12 00:47:38 +02:00
Groove
c7b6cf56e3 Fixed swizzle functions and tests 2018-07-12 00:36:59 +02:00
Groove
e30685ef96 Fixed build 2018-07-11 23:01:24 +02:00
Groove
5620858a14 Fixed build 2018-07-11 22:45:18 +02:00
Groove
b76f938505 Added C++2a detection and fixed constexpr tests 2018-07-11 21:59:25 +02:00
Groove
1381e0b4c1 Fixed build errors 2018-07-11 20:20:14 +02:00
Groove
10d7a5dc30 Fixed build 2018-07-11 20:11:03 +02:00
Christophe Riccio
0f2e1fa493 Fixed build 2018-07-11 17:49:15 +02:00
Christophe Riccio
2098b073ff Tentative fix build 2018-07-11 11:44:38 +02:00
Groove
710e95fb08 Fixed build 2018-07-11 03:44:15 +02:00
Groove
e280eb9d6c Fixed build 2018-07-11 03:38:29 +02:00
Groove
da8b136419 Fixed build 2018-07-11 03:30:01 +02:00
Groove
16106b2e3e Added C++17 detection, added VC language version detection, clean up alignment type, clean up swizzle operator detection 2018-07-11 02:53:22 +02:00
Groove
bd2c7070d7 Fixed build 2018-07-10 23:04:19 +02:00
Groove
c5386c05f9 More constexpr experiments 2018-07-10 22:49:48 +02:00
Groove
5ddfa3f8a9 More constexpr test 2018-07-10 22:17:31 +02:00
Groove
50bd4b0711 Initial work on more constexpr support in GLM 2018-07-10 22:07:03 +02:00
Christophe Riccio
ce644e01bb Removed useless copy assignment operators 2018-07-10 19:01:09 +02:00
Christophe Riccio
7ed97b4cab Fixed GCC build 2018-07-10 18:45:48 +02:00
Christophe Riccio
dee806ea3f Use initializer lists for matrix constructor 2018-07-10 18:23:59 +02:00
Christophe Riccio
d746c1eba9 Fixed default and constexpr build issues 2018-07-10 14:28:13 +02:00
Christophe Riccio
e48c5ae892 More use of initializer lists 2018-07-10 11:52:00 +02:00
Christophe Riccio
3308b75836 Use initializer lists constructors for mat2 2018-07-10 10:52:47 +02:00
Groove
65f1fb25bb Redesigned constexpr support which excludes both SIMD and constexpr #783 2018-07-10 01:00:47 +02:00
Groove
baca827371 Redesigned constexpr support which supports both SIMD and constexpr on Clang #783 2018-07-10 00:28:05 +02:00
Groove
d3a2542c77 Fixed build 2018-07-09 23:55:25 +02:00
Groove
13ef0f92bc Added detection of Visual C++ 2017 toolsets 2018-07-09 23:23:24 +02:00
Groove
398e66ac32 Redesigned constexpr support which requires disable GLM SIMD on Visual C++ #783 2018-07-09 21:44:28 +02:00
Groove
213a66f9bf - Added missing vec1 based constructors 2018-07-07 12:04:27 +02:00
Groove
ec261bd21b Added vec1 based constructors to vec4 with tests and fixed build 2018-07-06 22:22:09 +02:00
Groove
f5e27805af Added vec1 based constructors to vec3 with tests and fixed build 2018-07-06 21:08:06 +02:00
Groove
97ad14cf82 Added vec1 based constructors to vec2 zith tests and started vec3 2018-07-05 15:21:34 +02:00
Christophe Riccio
0d973b40a4 Fixed int mod 2018-06-18 14:25:14 +02:00
Christophe Riccio
5da834b725 Fixed warnings 2018-06-18 12:02:49 +02:00
Christophe
56ed906320
Merge pull request #772 from thechosenone124/patch-1
Intermediate Function Is Improperly Done #772
2018-06-01 23:49:02 +02:00
Christophe
c0e2aa0223
Merge pull request #773 from mosra/dualquat-to-string
Make to_string(dualquat) actually work #773
2018-06-01 23:46:35 +02:00
Christophe Riccio
2a332ac098 Fixed build 2018-06-01 23:32:57 +02:00
Christophe Riccio
a772bb3fd1 Added missing bitfieldInterleave overload 2018-06-01 18:08:11 +02:00
Christophe Riccio
b4981e56fa Added bitfieldDeinterleave with tests 2018-06-01 18:01:35 +02:00
Vladimír Vondruš
aa1728cde2 Make to_string(dualquat) actually work.
It segfaulted somewhere deep in strlen() due to a mismatch in printf()
argument count.
2018-06-01 02:45:01 +02:00
thechosenone124
8bbbbfcafd
Intermediate Function Is Improperly Done
The formula for calculating the intermediate for a SQUAD interpolation is

exp((log(next * invQuat) + log(prev * invQuat)) / static_cast<T>(-4)) * curr;

The current code uses addition instead of multiplication (based on http://web.mit.edu/2.998/www/QuaternionReport1.pdf)
2018-05-30 23:36:37 -07:00
JimVonMoon
59e15deb6d Fixed potential narrowing conversion in extractEulerAngleXYZ 2018-05-25 20:03:32 +02:00
Christophe Riccio
024e94b6c4 Fixed GTX_easing on Apple Clang 2018-05-08 21:27:22 +02:00