875 Commits

Author SHA1 Message Date
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
c4ed4ed0c7 Added EXT_scalar_common, EXT_vector_common and EXT_quaternion_exponential extensions 2018-08-15 18:54:04 +02:00
Christophe Riccio
a21401d2a4 Reduce dependencies, added scalar EXT extensions 2018-08-12 23:27:02 +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
78879c675c Refactor headers 2018-08-05 15:22:49 +02:00
Christophe Riccio
1092810f2f Fixed build 2018-08-02 18:30:46 +02:00
Groove
fbf3f2016f Refactor configuration macros 2018-07-31 23:05:48 +02:00
Groove
d18c7f55ec Tentative fix Visual C++ build 2018-07-29 16:13:21 +02:00
Groove
2e3fc5da83 Fixed error: comparing floating point with == or != is unsafe 2018-07-28 21:35:59 +02:00
Groove
01f9ab5b6d Revert "- Fixed unexpected operator== behavior #723"
This reverts commit c46981b4c336d5dbb0e2c2756247d8779805bcfb.
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
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
988858145c Added intersectLineTriangle tests 2018-07-23 20:42:38 +02:00
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