Commit Graph

1229 Commits

Author SHA1 Message Date
Christophe Riccio
a21401d2a4 Reduce dependencies, added scalar EXT extensions 2018-08-12 23:27:02 +02:00
Christophe Riccio
2a20695ce5 Added more tests 2018-08-12 17:49:41 +02:00
Christophe Riccio
93cf0cff8b Fixed build 2018-08-10 00:53:06 +02:00
Christophe Riccio
4ed0bf7033 Tentative fixed of test with GCC 2018-08-09 23:22:02 +02:00
Christophe Riccio
cb4ca81d9b Clean up quaternion relational API 2018-08-09 14:46:38 +02:00
Christophe Riccio
ba8ee44b19 Added EXT_quaternion_relational and EXT_quaternion_geometric extensions 2018-08-08 18:36:20 +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
310b8405c9 Refactor split headers as extension files 2018-08-07 10:46:09 +02:00
Christophe Riccio
768d6eb723 Fixed warnings, added dmat4 operator tests 2018-08-07 01:29:06 +02:00
Christophe Riccio
389fb2457d Added constexpr relational operators 2018-08-06 19:28:42 +02:00
Christophe Riccio
f82d23949a Fixed build 2018-08-05 19:04:52 +02:00
Christophe Riccio
7086d902e2 Fixed relational code, reduced header dependencies 2018-08-05 18:24:22 +02:00
Christophe Riccio
838d3fed97 Added *vec1 tests 2018-08-05 16:55:36 +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
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
a71d553435 Fixed test build 2018-08-01 11:03:13 +02:00
Christophe Riccio
3f0bed6dce Refactor vec1 implementation 2018-08-01 11:01:47 +02:00
Groove
0eadca8ca4 Updated manual summary to prepare manual update 2018-08-01 00:29:52 +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
Christophe Riccio
d97e4c2483 Fixed Clang build 2018-07-31 11:12:10 +02:00
Groove
ddb35c65a0 Disabled test experiment 2018-07-31 00:46:15 +02:00
Groove
4712d510cf More load experiments 2018-07-30 23:47:04 +02:00
Groove
c56cc083a4 Added GTX_load experiments 2018-07-30 23:27:02 +02:00
Groove
58255c8603 More aligned type tests 2018-07-29 22:44:09 +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
d307d39019 GLM_TEST_ENABLE Option enabled by default to build GLM unit tests. Disable this option to disable testing #788 2018-07-29 18:20:43 +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
8892c7da59 Fixed build error 2018-07-29 01:06:17 +02:00
Groove
9d9a3e07c9 Fixed build error 2018-07-29 00:43:55 +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
5df76e830d Fixed defaulted operator= and constructors #791 2018-07-28 22:53:57 +02:00
Groove
8e8d046587 Fixed error: comparing floating point with == or != is unsafe 2018-07-28 21:40:20 +02:00
Groove
2e3fc5da83 Fixed error: comparing floating point with == or != is unsafe 2018-07-28 21:35:59 +02:00
Groove
b0f06b31a4 Fixed error: comparing floating point with == or != is unsafe 2018-07-28 21:25:49 +02:00
Groove
3e364981e8 Fixed error: comparing floating point with == or != is unsafe 2018-07-28 21:18:15 +02:00
Groove
21d030ad3d Fixed error: comparing floating point with == or != is unsafe 2018-07-28 21:06:00 +02:00
Groove
d6b0b9b1ef Fixed error: comparing floating point with == or != is unsafe 2018-07-28 20:51:13 +02:00
Groove
a7e0e8387b Fixed error: comparing floating point with == or != is unsafe 2018-07-28 20:32:26 +02:00
Groove
5ecc27ff93 Fixed error: comparing floating point with == or != is unsafe 2018-07-28 20:24:45 +02:00
Groove
6c981b07c1 Fixed error: comparing floating point with == or != is unsafe 2018-07-28 19:55:36 +02:00
Groove
34eb95d219 Fixed error: comparing floating point with == or != is unsafe 2018-07-28 19:45:40 +02:00
Groove
ef955b2bf5 Fixed error: comparing floating point with == or != is unsafe 2018-07-28 19:26:54 +02:00
Groove
b2ba0c317d Fixed error: comparing floating point with == or != is unsafe 2018-07-28 19:12:41 +02:00
Groove
29f7e00e16 Fixed error: comparing floating point with == or != is unsafe 2018-07-28 19:04:00 +02:00
Groove
156ff1f4b2 Fixed error: comparing floating point with == or != is unsafe 2018-07-28 18:41:17 +02:00
Groove
0c83020e4e Fixed error: comparing floating point with == or != is unsafe 2018-07-28 18:31:08 +02:00
Groove
291287e45d Fixed error: comparing floating point with == or != is unsafe 2018-07-28 18:16:07 +02:00
Groove
f9dc1d587f Fixed error: comparing floating point with == or != is unsafe 2018-07-28 17:14:02 +02:00
Groove
6684535016 Fixed error: comparing floating point with == or != is unsafe 2018-07-28 14:28:49 +02:00
Groove
0cd329da05 Fixed build 2018-07-28 13:57:38 +02:00
Groove
7e6e17f410 Fixed build 2018-07-28 13:28:05 +02:00
Groove
9299abaf9b Fixed float warnings 2018-07-28 12:39:15 +02:00
Groove
382d3c674d Fixed error: comparing floating point with == or != is unsafe 2018-07-27 01:15:58 +02:00
Groove
27b5ddff2b Fixed error: comparing floating point with == or != is unsafe 2018-07-27 00:18:34 +02:00
Groove
af8964a78f Fixed build 2018-07-27 00:11:35 +02:00
Groove
76707df1f1 Fixed comparing floating point with == or != is unsafe error 2018-07-27 00:02:35 +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
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
afde3b4645 Added identity experiment #765 2018-07-25 23:27:57 +02:00
Groove
8f0b7c1373 Added missing equal and notEqual with epsilon for quaternion types 2018-07-25 22:16:16 +02:00
Groove
c3c8b73c57 Use constexpr only with C++14 compiler 2018-07-24 23:41:55 +02:00
Groove
97e189606f Added repro test for Conversion error with an aligned matrix #777 2018-07-24 21:33:31 +02:00
Christophe Riccio
75a711dffb Fixed tests 2018-07-23 20:59:29 +02:00
Christophe Riccio
988858145c Added intersectLineTriangle tests 2018-07-23 20:42:38 +02:00
Christophe Riccio
57b03c92ae Added force tests 2018-07-23 20:25:38 +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
0dcb1e8a90 Removed extra GLM_FORCE_MESSAGES 2018-07-23 18:56:23 +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
508d0bcbb1 Fixed defaulted constructor and fixed anonymous struct detection and use 2018-07-23 16:02:21 +02:00
Groove
1183d39f43 Fixed VC12 build, added VC 14 test 2018-07-15 19:15:49 +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
6acd30c6c5 Fixed Clang build 2018-07-14 17:58:29 +02:00
Christophe Riccio
4db3abe6b5 Refactored GLM_FORCE_MESSAGES, added swizzle operators and functions tests 2018-07-14 17:56:40 +02:00
Groove
f27a24de0e Refactor GLM messages and build targets 2018-07-14 00:17:46 +02:00
Groove
1ad1edf315 Fixed clang warning 2018-07-12 21:18:44 +02:00
Groove
5c543e65f8 Fixed build 2018-07-12 21:03:14 +02:00
Groove
5273e1001c Fixed test 2018-07-12 20:18:18 +02:00
Groove
c7b6cf56e3 Fixed swizzle functions and tests 2018-07-12 00:36:59 +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
Christophe Riccio
0f2e1fa493 Fixed build 2018-07-11 17:49:15 +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
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
e48c5ae892 More use of initializer lists 2018-07-10 11:52:00 +02:00
Groove
e264f3f17c Fixed test build 2018-07-10 00:32:51 +02:00
Groove
f95abf2c27 Added more constexpr tests #783 2018-07-10 00:06:28 +02:00
Groove
c06993191f Added initial constexpr tests #783 2018-07-09 23:54:10 +02:00
Groove
13ef0f92bc Added detection of Visual C++ 2017 toolsets 2018-07-09 23:23:24 +02:00
Groove
f889ac0bfe Added initial constexpr tests #783 2018-07-09 21:55:19 +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
cdcc9467d0 Fixed core_type_vec4 tests 2018-07-09 17:45:55 +02:00
Groove
3a1787795e Fixed warning 2018-07-09 09:19:42 +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
11c26f9edb Fixed build problems due to printf and std::clock_t #778 2018-06-18 12:40:00 +02:00
Christophe Riccio
620c951501 Merge branch 'master' of https://github.com/g-truc/glm 2018-06-02 00:26:27 +02:00
Christophe Riccio
1139f10a59 Fixed build 2018-06-02 00:25:58 +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
b4981e56fa Added bitfieldDeinterleave with tests 2018-06-01 18:01:35 +02:00
Vladimír Vondruš
89420dd1f5 Make the to_string(dualquat) test work under C++03.
I forgot this is still a thing, sorry.
2018-06-01 12:01:25 +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
Christophe Riccio
4a28af5258 Fixed clang build 2018-05-08 14:37:51 +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
1cd7a47279 Fixed GTX_easing build on VS2013 2018-05-08 12:16:58 +02:00
Christophe Riccio
b3a24a0565 Fixed linearRand #762 2018-05-07 18:12:18 +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
b5632f5a18 Added bvec3_ctor test 2018-05-03 11:49:38 +02:00
Christophe
fdb0e43aa0
Merge pull request #744 from vitali-parkhomenko/feature/extension_for_euler_angles
Extension for Euler angles #744
2018-03-25 12:05:34 +02:00
Vitali Parkhomenko
a74cd55d8d #744 Added tests 2018-03-23 14:27:35 +03:00
Christophe
2fd7333dd3
Merge pull request #725 from elect86/master
Fixed core_func_common.cpp unsigned test #725
2018-03-17 10:59:03 +01:00
Giuseppe Barbieri
b2a1d7a293
Update core_func_common.cpp 2018-01-26 15:08:02 +01:00
Christophe Riccio
c585cb9d6c Added quat left and right handed tests #703 2018-01-06 19:58:39 +01:00
Christophe Riccio
26c395c78b Fixed build 2018-01-04 17:14:27 +01:00
Christophe Riccio
85811f3860 Fixed test 2018-01-04 15:54:49 +01:00
Giuseppe Barbieri
5d0fa00c39
Update gtx_matrix_interpolation.cpp 2017-12-19 14:47:02 +01:00
Christophe Riccio
1190ae0b0e Added test 2017-11-22 18:36:36 +01:00
Kai Dietrich
708a886bb0 Add a CXX11-conditional test for exp2 precision with larger exponents 2017-10-26 09:41:15 +02:00
Christophe Riccio
fcbedf5058 Fixed glm::step that didn't work with scalars #684 2017-10-22 16:58:09 +02:00
Christophe Riccio
083782185e Added openBounded and closeBounded 2017-09-20 23:10:52 +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
Christophe Riccio
1bf24f8344 Fixed glm::log2<int>() returns wrong value, missing static assert #683 2017-09-20 14:17:42 +02:00
Christophe
5606dd1aac Merge pull request #682 from CaptainCarrot/Quaternion-Look-At
quatLookAt: removed internal normalization of input direction #682
2017-09-20 14:03:30 +02:00
Christophe Riccio
5360662d77 Fixed test 2017-09-20 13:42:13 +02:00
CaptainCarrot
62433e1f40 Update gtx_quaternion.cpp 2017-09-14 09:33:49 +02:00
CaptainCarrot
e28dd1db59 Update gtx_quaternion.cpp 2017-09-14 09:08:44 +02:00
Christophe Riccio
e8e8d3607c Fixed test build 2017-08-25 21:14:23 +02:00
Christophe Riccio
5cf8765656 Added GTX_texture 2017-08-25 15:55:41 +02:00
Christophe Riccio
5c5cfa5b66 Merge branch 'master' of https://github.com/g-truc/glm 2017-08-25 15:11:40 +02:00
Christophe Riccio
ba4e508e98 Added make_vec* 2017-08-25 15:11:24 +02:00
Christophe Riccio
6932058f59 Fixed quaternion constructor from two vectors special cases #469 2017-08-22 22:47:36 +02:00
Aaron
8150e4848b Added more testing for fmin/fmax nan cases 2017-08-21 11:40:37 -07:00
Christophe Riccio
d550798ca0 Added EXT_vec1: *vec1 types 2017-08-21 10:36:27 +02:00
Christophe Riccio
de28722e36 Added EXT_vector_relational: extend equal and notEqual to take an epsilon argument 2017-08-20 21:38:33 +02:00
Christophe Riccio
68a829e7ed Added fmin, fmax and fclamp to GTX_extended_min_max #372 2017-08-20 18:42:48 +02:00
Christophe Riccio
3358f33870 Fixed Visual C++ warnings 2017-08-18 20:09:46 +02:00
Christophe Riccio
7466c4a9e7 Fixed Visual C++ warnings 2017-08-18 20:08:36 +02:00
Christophe Riccio
d0ed6aef21 Fixed Visual C++ /W4 warnings 2017-08-18 18:41:04 +02:00
Christophe Riccio
a2253436c7 Fixed warnings 2017-08-18 16:56:57 +02:00
Christophe Riccio
f654900a01 Fixed warnings 2017-08-18 16:54:53 +02:00
Christophe Riccio
c4794851aa Fixed /W4 warnings 2017-08-18 13:48:47 +02:00
Christophe Riccio
2c2d3931ee Fixed Visual C++ /W4 warnings 2017-08-18 12:59:16 +02:00
Christophe Riccio
e9f210c85f Enable /WX, warning as error on Visual Studio 2017-08-17 19:51:03 +02:00
Christophe Riccio
2240849164 Improve API documentation 2017-08-17 17:36:40 +02:00
Christophe Riccio
d93a3be4ac - Improved API documentation #668 2017-08-17 16:24:32 +02:00
Christophe Riccio
1cead1904a Fixed matrix test using fast math with Clang 2017-08-17 12:24:23 +02:00
Christophe Riccio
3a560f3fd5 Minimum perf run in debug build 2017-08-17 11:55:50 +02:00
Christophe Riccio
e37cf6e47f Fixed GCC 7.1.0 failing tests #666 2017-08-17 00:08:37 +02:00
Christophe Riccio
cef33d74c5 Fixed clang test build 2017-08-16 23:06:34 +02:00
Christophe Riccio
22fe828159 Improved GTC_type_precision and added issues regarding SIMD and constexpr interaction #653 2017-08-16 22:35:29 +02:00
Christophe Riccio
cdb28edcaa Added test for inheritance #650 2017-08-16 18:44:20 +02:00
Christophe Riccio
c0df21a398 Added glm/ext.hpp build test 2017-08-16 14:27:06 +02:00
Christophe Riccio
faf1da52b7 Renamed P (for precision) template argument to Q (for qualifier) 2017-08-16 01:22:50 +02:00
Christophe Riccio
e76fca75a0 More consistent coding style 2017-08-15 22:04:24 +02:00
Christophe Riccio
d1afe662be More consistent coding style 2017-08-15 21:59:47 +02:00
Christophe Riccio
a805fb9d68 Renamed precision enum to qualifier 2017-08-15 21:23:47 +02:00
Christophe Riccio
ac3abfdac7 Replaced vecType template argument by vec template 2017-08-15 19:07:25 +02:00
Christophe Riccio
da84db5481 Replaced vecType by vec 2017-08-15 17:32:36 +02:00
Christophe Riccio
c68940224a Fixed GCC and clang build 2017-08-15 16:12:54 +02:00
Christophe Riccio
bacbc2ab99 Tentative fix of GTC_type_precision 2017-08-15 15:12:04 +02:00
Christophe Riccio
118be2fe8d Fixed Clang with -Weverything build error 2017-08-15 14:40:33 +02:00
Christophe Riccio
1dda4f5014 Trying to identify test failure on the test systems 2017-08-11 02:02:01 +02:00
Christophe Riccio
3a06085edd Fixed -Weverything warnings 2017-08-10 19:57:35 +02:00
Christophe Riccio
78e06f815b Fixed clang test 2017-08-10 03:23:00 +02:00
Christophe Riccio
7740d53f6b Trying to find clang problem with GTC_type_precision 2017-08-10 02:51:17 +02:00
Christophe Riccio
36c196b195 Fixed warnings 2017-08-10 02:25:37 +02:00
Christophe Riccio
e079fa0569 Removed GLI 2017-08-09 22:42:56 +02:00
Christophe Riccio
5d77861141 Fixed warnings 2017-08-09 22:40:33 +02:00
Christophe Riccio
b936761960 Fixed warnings 2017-08-09 22:15:01 +02:00
Christophe Riccio
ac8d625d23 Fixed warnings 2017-08-08 23:54:30 +02:00
Christophe Riccio
1bfc198625 Fixed warnings 2017-08-08 23:32:52 +02:00
Christophe Riccio
2cc0c53da7 Fixed warnings 2017-08-08 23:19:16 +02:00
Christophe Riccio
f445a24f82 Fixed test warnings 2017-08-08 22:44:13 +02:00
Christophe Riccio
f5dde80e2e Fixed warnings 2017-08-08 22:31:37 +02:00
Christophe Riccio
d712ac930f Fixed test build 2017-08-08 21:33:57 +02:00
Christophe Riccio
5a747d2ae5 Fixed warnings 2017-08-08 20:28:37 +02:00