Commit Graph

1234 Commits

Author SHA1 Message Date
Christophe Riccio
229b762c31 Added Visual C++ 2019 detection 2019-04-04 12:24:02 +02: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
6492c8593f - Added mix implementation for matrices in EXT_matrix_common #842 2019-03-01 12:33:09 +01:00
Christophe Riccio
daf14f0f74 Added bitfieldRotate tests #862 2019-03-01 11:33:32 +01:00
Christophe Riccio
ef9d65e0c6 Added GLM_FORCE_INTRINSICS define 2019-01-11 12:58:31 +01: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
abff0a39ac Fixed build 2018-10-01 11:23:26 +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
81d626daf6 Added test for #764 2018-09-27 21:22:07 +02:00
Christophe Riccio
76683aa287 Added vector ulp functions 2018-09-26 18:27:55 +02:00
Christophe Riccio
32573c86ec Fixed double tests 2018-09-26 15:08:04 +02:00
Christophe Riccio
e259e2789d Fixed double tests 2018-09-26 14:52: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
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
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
e5d6b1c64b Merged master 2018-09-17 11:48:15 +02:00
Christophe Riccio
9c8a348e21 Clean up test 2018-09-14 11:21:30 +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
c334499931 Fixed Clang 3.6 build 2018-08-31 18:49:53 +02:00
Christophe Riccio
d479d5bf35 Tentative fix Travis 2018-08-31 00:20:05 +02:00
Christophe Riccio
7c445ee93d Clean up GLM_FORCE_DEFAULT_ALIGNED_GENTYPES 2018-08-27 23:25:00 +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
87f9f3bd78 Added manual documentation for GLM_FORCE_DEFAULT_ALIGNED_GENTYPES 2018-08-27 21:33:55 +02:00
Christophe Riccio
0fdf6a3f3a Fixed unknown target 2018-08-22 22:03:54 +02:00
Christophe Riccio
de4dbc5662 Improved disabling auto detection 2018-08-22 21:43:32 +02:00
Christophe Riccio
b1c2cc64fd Added platform unknown test 2018-08-22 21:21:00 +02:00
Christophe Riccio
f84216c735 Clean up messages 2018-08-19 14:35:30 +02:00
Christophe Riccio
84797af694 Added transpose test 2018-08-19 14:02:47 +02:00
Christophe Riccio
007fe0ff65 Fixed perf mat div test to avoid NaN 2018-08-19 13:36:31 +02:00
Christophe Riccio
89f345d5fb Added perf tests 2018-08-19 12:13:55 +02:00
Christophe Riccio
133b1f9223 Added SIMD tests 2018-08-19 11:24:56 +02:00
Christophe Riccio
683a0f6119 Fixed warnings 2018-08-18 17:15:27 +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
77d3914f91 Fixed warnings 2018-08-18 11:40:43 +02:00
Christophe Riccio
bb98016c33 Fixed VC warning 2018-08-17 00:23:07 +02:00
Christophe Riccio
597ac53f20 Fixed SIMD build 2018-08-16 23:18:13 +02:00
Christophe Riccio
cec74162ff Fixed VC warnings 2018-08-16 21:13:20 +02:00
Christophe Riccio
bee480347c Fixed build 2018-08-16 20:11:03 +02:00
Christophe Riccio
e1f44ea397 Fixed clang warning 2018-08-16 19:52:15 +02:00
Christophe Riccio
fceca6cf19 Fixed tests, clean up 2018-08-16 17:03:07 +02:00
Christophe Riccio
ef9f9f8028 Added rotate test 2018-08-16 09:57:34 +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
72c3b98e5b Fixed warnings 2018-08-13 20:41:11 +02:00
Christophe Riccio
7489d5d01e Fixed warnings 2018-08-13 20:09:50 +02:00
Christophe Riccio
0e763af6e7 Sliced quaternions into multiple extensions 2018-08-13 19:11:54 +02:00
Christophe Riccio
b3d3f12da7 Fixed warnings 2018-08-12 23:48:43 +02:00
Christophe Riccio
6c7aada02e Fixed warnings 2018-08-12 23:46:55 +02:00
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