Commit Graph

4552 Commits

Author SHA1 Message Date
Christophe
a465b0e0d1 C.I. Upgraded osx images 2020-12-08 10:44:14 +01:00
Christophe
ccec730246 C.I. reduced the number of travis configurations 2020-12-08 10:38:54 +01:00
Christophe
15f4a448c4 C.I. fix travis build with Clang 3.6 2020-12-08 09:34:52 +01:00
Christophe
9fcec4bbfa Upgrading Travis C.I. distribution 2020-12-07 22:28:11 +01:00
Christophe
9f3d876120 Upgrading Travis C.I. distribution 2020-12-07 22:13:42 +01:00
Christophe
e5a16329c7 C.I.: Fix Travis C.I. xcode build 2020-12-07 21:12:45 +01:00
Christophe
4c419832a6 C.I.: Fix Travis C.I. xcode build 2020-12-07 20:44:12 +01:00
Gottfried Leibniz
00c4720305 fix: isIdentity for non-symmetric matrices 2020-12-06 11:26:14 -04:00
Christophe
24a4befe80 Fix build 2020-12-01 08:57:06 +01:00
Christophe
e6e73e5e0c Only run Travis C.I. on master branch 2020-12-01 08:43:56 +01:00
Christophe
6dedba1b94
Merge pull request #1044 from g-truc/build_only_master
Build appveyor C.I. only on master branch #1044
2020-11-30 20:31:04 +01:00
Christophe
e011a57cf6
Merge pull request #1043 from g-truc/GLM_EXT_matrix_integer
Added *GLM_EXT_matrix_integer* with tests
2020-11-30 20:30:46 +01:00
Christophe
6c76f78298 Build appveyor C.I. only on master branch 2020-11-30 20:06:23 +01:00
Christophe
561fbbd94c Added *GLM_EXT_matrix_integer* with tests 2020-11-30 18:10:55 +01:00
Christophe
8693d06297 Fix glm::acsch tests 2020-11-26 11:14:54 +01:00
Christophe
db8b101617 verbose 2020-11-24 14:17:07 +01:00
Christophe
5f0baa29b9 Fix build when CMake 2.6 is used not supporting --parallel 2020-11-24 14:13:10 +01:00
Christophe
e24c88cf38 travis ci parallel build and tests 2020-11-24 13:40:21 +01:00
Christophe
2be2119a2b travis ci parallel build and tests 2020-11-24 13:05:18 +01:00
Christophe
315e8d2dba Verbose test 2020-11-24 12:54:17 +01:00
Christophe
03ef41c27a appveyor parallel build and tests 2020-11-24 12:39:54 +01:00
Christophe
25344118d6 appveyor parallel build and tests 2020-11-24 12:35:42 +01:00
Christophe
c31b5aecaa fix reciprocal test 2020-11-24 12:19:30 +01:00
Christophe
da542d6354 fix reciprocal test 2020-11-24 12:12:33 +01:00
Christophe
23dcea8995 Fix warnings 2020-11-24 12:00:31 +01:00
Christophe
f3887d2053 Release not ready yet... 2020-11-23 22:59:00 +01:00
Christophe
2a8664fe50 Added and to *GLM_EXT_scalar_common* and *GLM_EXT_vector_common* 2020-11-23 17:02:32 +01:00
Christophe
c59117ebd0 Updated readme 2020-11-23 16:35:45 +01:00
Christophe
ee96051e86 Updated readme 2020-11-23 16:12:30 +01:00
Christophe
2593c9c8b3 Added GLM_EXT_scalar_reciprocal and GLM_EXT_vector_reciprocal with tests 2020-11-23 15:33:36 +01:00
Christophe
1cf91a1009
Merge pull request #1012 from bosmacs/master
Fix quaternion orientation in `glm::decompose` #1012
2020-11-21 22:27:46 +01:00
Christophe
b033c73b42
Merge pull request #1019 from dscharrer/master
Fix singularity in quaternion to euler angle roll conversion #1019
2020-11-21 22:19:21 +01:00
Christophe
e8f2e98050
Merge pull request #1027 from amaury-ml/ctor_init
Change the logic of defaulted constructors #1027
2020-11-21 22:16:46 +01:00
Christophe
f52f232f59
Merge pull request #1038 from EZForever/patch-angle
fix: glm::angle() discards the sign of result for angles in range (2*pi-1, 2*pi) #1038
2020-11-21 22:06:08 +01:00
Christophe
4ae59db254
Merge pull request #1041 from lpisha/master
Remove ban on using string_cast with CUDA host code #1041
2020-11-21 21:59:09 +01:00
Christophe
5a34b3a2d8
Merge pull request #1040 from RohacekD/patch-constexpr
Adding constexpr qualifiers for dot and cross product #1040
2020-11-20 14:12:20 +01:00
Christophe
97ab936305 Use pull request to contribute 2020-11-20 10:49:26 +01:00
lpisha
051781e265
Remove ban on using string_cast with CUDA host code
string_cast.hpp merely detects whether the current compiler is NVCC (originally based on `if defined(__CUDACC__)` in glm/simd/platform.h) and throws an error if it is. This means string_cast.hpp cannot be included in any header which might ever be used in a CUDA project.

Of course, glm::to_string can't be used in device (GPU) code. However, the current approach to stop this is both incorrect and unnecessary. __CUDACC__ will be defined in both host and device code compilation, and glm::to_string can obviously be used in host code. The correct define is __CUDA_ARCH__ (will be defined only if compiling device code). However, there's no problem if glm::to_string is defined (the header is included) while compiling device code, as long as it's not actually used in the device code. So, throwing an error if __CUDA_ARCH__ is defined would still prevent string_cast.hpp from being included in CUDA projects.

There's actually no need for any manual check to see if glm::to_string is being used in device code, because the compiler will already check for that. It returns a std::string, which itself can't be used in device code, so it's unlikely a developer would try. And if they did, there would be errors that both glm::to_string and all the needed std::string constructors, stream operators, etc. are host-only functions.
2020-11-18 11:09:53 -08:00
RohacekD
ae6fa0872f Adding constexpr qualifier for cross product 2020-11-17 16:58:12 +01:00
RohacekD
6ce6cd9e26 Adding constexpr qualifier for dot product 2020-11-16 20:04:06 +01:00
Christophe
596577f200
Merge pull request #1035 from koladonia/adjugate-fix
Fixed calculation of m02 minor for mat4x4 adjugate #1035
2020-11-09 18:10:54 +01:00
Christophe
2c36db9cf7
Merge pull request #1033 from gottfriedleibniz/patch-fastnormalize
fix: fastNormalize ambiguity #1033
2020-11-09 18:06:07 +01:00
Christophe
f6574ccf71
Merge pull request #1034 from gottfriedleibniz/patch-ismultiple
fix: isMultiple #1034
2020-11-09 17:56:22 +01:00
Christophe
9e1b2dd8bf
Merge pull request #1029 from gottfriedleibniz/patch-quat
fix: missing type_quat header #1029
2020-11-09 17:54:46 +01:00
Christophe
59ae1dd57a
Merge pull request #1030 from gottfriedleibniz/patch-types
fix: spurious floats #1030
2020-11-09 17:53:59 +01:00
Christophe
cc34bc7d49
Merge pull request #1032 from gottfriedleibniz/patch-scalebias
fix: scalebias #1032
2020-11-09 17:52:56 +01:00
Christophe
0fe622b020
Merge pull request #1028 from gottfriedleibniz/patch-axisangle
fix: matrix axisAngle #1028
2020-11-09 17:51:53 +01:00
Christophe
806e05755e
Merge pull request #1036 from Zuzu-Typ/patch-1
Fixed unpackUnorm #1036
2020-11-09 17:49:36 +01:00
EZForever
f109b9185f Make CI happy 2020-10-29 14:02:04 +08:00
EZForever
a66b782134 fix: glm::angle() discards the sign of result for angles in range (2*pi-1, 2*pi) 2020-10-29 13:50:31 +08:00