Commit Graph

807 Commits

Author SHA1 Message Date
Christophe Riccio
b6321cb85e Clean up configuration defines 2018-07-23 19:38:57 +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
802532de0f Fixed build 2018-07-12 00:47:38 +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
398e66ac32 Redesigned constexpr support which requires disable GLM SIMD on Visual C++ #783 2018-07-09 21:44:28 +02:00
Christophe Riccio
0d973b40a4 Fixed int mod 2018-06-18 14:25:14 +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
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
Christophe Riccio
ef615c8d6e Tentative fix GTX_easing on Apple Clang 2018-05-08 20:57:34 +02:00
Christophe Riccio
5c02758b15 Tentative fix GTX_easing on Apple Clang 2018-05-08 20:05:54 +02:00
Christophe Riccio
3a7168eb55 Tentative fix Clang build 2018-05-08 17:16:35 +02:00
Christophe Riccio
e2b75b6bf7 Fixed GTX_easying clang warnings 2018-05-08 14:01:29 +02:00
Christophe Riccio
4d4dbcade6 Moved bounded function to GTX_common from EXT_vector_relational as there are quite new 2018-05-08 13:34:22 +02:00
Christophe Riccio
1d3f8a057f Fixed GTX_easing build on Clang 2018-05-08 12:26:07 +02:00
Christophe Riccio
1cd7a47279 Fixed GTX_easing build on VS2013 2018-05-08 12:16:58 +02:00
Christophe Riccio
69f94334e0 Added GTX_easing for interpolation functions #761 2018-05-07 15:39:25 +02:00
Christophe Riccio
798ab30b9d Fixed Syntax error when compiling with GLM_FORCE_CTOR_INIT and GLM_ENABLE_EXPERIMENTAL #753 2018-05-07 10:37:37 +02:00
Christophe Riccio
b8d0681725 Fixed misspelling #738 2018-03-27 19:04:44 +02:00
Christophe Riccio
8390a77b3a Added GLM_FORCE_CTOR_INIT #735 #740 2018-03-27 18:23:37 +02:00
Philippe Groarke
2cac15849b cleanup : Remove trailing whitespaces. 2018-03-25 12:44:55 -04:00
Philippe Groarke
47fa70c34b Merge branch 'master' into cleanup 2018-03-25 12:43:32 -04:00
Philippe Groarke
fd327cd341 cleanup : Remove trailing whitespaces. 2018-03-24 20:01:03 -04:00
Vitali Parkhomenko
15fb58aacb Added extraction of Euler angles from rotation matrix.
Extraction of Euler angles from rotation matrix for 11 sequences of rotation axes:
z-x-z, x-y-x, y-z-y, z-y-z, x-z-x, y-x-y, y-z-x, z-x-y, x-z-y, z-y-x, y-x-z.
2018-03-19 18:48:18 +03:00
Vitali Parkhomenko
5361f5e4ec Added creating a rotation matrix from Euler angles
Creating a rotation matrix for 10 sequences of rotation axes:
z-x-z, x-y-x, y-z-y, z-y-z, x-z-x, y-x-y, y-z-x, z-x-y, x-z-y, z-y-x.
2018-03-19 18:43:01 +03:00
Vitali Parkhomenko
5fe5f32edd Added creating a derived matrix from the rotation matrix.
Creating a derived matrix from the rotation matrix about the x-, y-, and z-axis.
2018-03-19 18:25:45 +03:00
Yuri Kilochek
0afc784511 Add definitions for glm::type<T> members, so that they can be used outside of constant expressions. 2018-01-07 00:17:18 +03:00
Yuri Kilochek
5441bc7a93 Merge remote-tracking branch 'upstream/master' 2018-01-07 00:02:24 +03:00
Christophe Riccio
6390805e6d Fixed zero as null pointer constant 2018-01-05 00:03:29 +01:00
Christophe Riccio
43179a4bc1 Fixed typo 2018-01-04 15:33:17 +01:00
Yuri Kilochek
1ef3e5a200 components, cols, rows are no longer defined as members of anonymous enums and are now instead static integral constants of type glm::length_t (this appears to be current approach). 2017-12-26 19:42:12 +03:00
Yuri Kilochek
7f162ff4e8 Remove redundant specializations of glm::type<mat</*...*/>> 2017-12-26 19:38:07 +03:00
Giuseppe Barbieri
83697febeb
Update intersect.hpp 2017-12-19 16:18:10 +01:00
Olivier Sohn
ddb93dcdc2 fix build 2017-10-21 21:50:36 +02:00
Olivier Sohn
6bd81b8fbc use quat_identity 2017-10-21 21:43:47 +02:00
Olivier Sohn
6f61bb4d2e Fix rotation when vectors are in the same direction #690 2017-10-21 21:17:55 +02:00
Christophe Riccio
dc3e0b5ccb Added GLM_FORCE_SINGLE_ONLY to use GLM on platforms that don't support double #627 2017-09-23 16:32:25 +02:00
Christophe Riccio
30ee2cd1bb - Added GTX_texture: levels function 2017-09-20 15:32:29 +02:00
Christophe Riccio
a2497e6174 Fixed glm::to_string on quaternions wrong components order #681 2017-09-20 14:29:22 +02:00
CaptainCarrot
3669256fd1 Update quaternion.inl 2017-09-14 09:05:09 +02:00
CaptainCarrot
1fe48f0d09 Update quaternion.hpp 2017-09-14 09:04:09 +02:00
Tobias Widlund
c07050ef9d Fixed incorrect indentation 2017-08-31 12:42:59 +02:00
Christophe Riccio
5cf8765656 Added GTX_texture 2017-08-25 15:55:41 +02:00
Linqing Feng
a6e27e8079 fix mismatched template argument (P to Q) 2017-08-25 10:50:05 +09:00
Aaron
d75ef41bdb Checking if either argument is nan in fmin and fmax 2017-08-21 11:16:46 -07:00