Commit Graph

76 Commits

Author SHA1 Message Date
Christophe
e516c13a06 Fixes for tests build 2023-12-20 20:58:18 +01:00
Thibault de Villèle [UM]
1c18fca789 Fix GLM_EXT_matrix_common : row to column-major
The previous patch made the incorrect assumption matrices were row-major
instead of column-major (got the two mixed up in my head).

This fixes this problem.

Also, this extends the test files to cover all matrix sizes (not types,
that would be redundant).
2022-10-26 11:17:23 +02:00
Thibault de Villèle [UM]
48e1ff3fee Add glm::abs() function for the glm::mat<> class
This is added as part of the GLM_EXT_matrix_common extension, as this
function is not provided by the core GLSL specification (version 4.20).

The implementation of this glm::abs(mat<>) function mirrors the
glm::abs(vec<>) implementation. It should be functionning the same in
every way as the vec implementation.

Bonus points : AFAICT this allows to vectorize operations on compilers
that support optimization of these patterns, just like the functor1<>
struct in _vectorize.hpp for vectors.
2022-08-29 14:22:10 +02: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
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
2a8664fe50 Added and to *GLM_EXT_scalar_common* and *GLM_EXT_vector_common* 2020-11-23 17:02:32 +01:00
Christophe
2593c9c8b3 Added GLM_EXT_scalar_reciprocal and GLM_EXT_vector_reciprocal with tests 2020-11-23 15:33:36 +01:00
EZForever
2bb0fb3999 Add test case for glm::angle() sign bug introduced by #946 2020-10-28 17:26:53 +08:00
Christophe Riccio
a4bf8867c2 Added clamp, repeat, mirrorClamp and mirrorRepeat function to GLM_EXT_scalar_commond and GLM_EXT_vector_commond extensions with tests 2020-02-11 12:53:12 +01:00
Christophe Riccio
9e7a486c0e Added matrix integer extensions and tests 2020-02-10 19:06:30 +01:00
Christophe Riccio
684817db46 Clean up integer precision 2020-02-08 16:21:22 +01:00
Christophe Riccio
6bd53cc9e5 Added files for EXT packing extensions 2020-02-07 15:20:42 +01:00
Christophe Riccio
8e58cdbbf8 - Added GLM_EXT_vector_intX_sized and GLM_EXT_vector_uintX_sized extensions 2020-02-04 17:11:07 +01:00
Christophe Riccio
919e72f5dd Fixed equal ULP variation when using negative sign #965 2019-11-02 12:46:15 +01:00
Christophe
163f0d162d Tentative fix build 2019-08-08 11:09:59 +02:00
Christophe
29987a3100 Fixed prevPowerOfTwo build 2019-08-08 10:51:19 +02:00
Christophe
a87784c125 Fixed C++98 build 2019-08-07 14:25:12 +02:00
Christophe
69622b2954 Fixed perf test results 2019-07-12 22:59:18 +02:00
Christophe
4074dfcf07 Added findNSB functions and tests 2019-07-12 21:50:30 +02:00
Christophe
3a65b7a628 Completed EXT_*_integer extensions 2019-07-12 18:46:08 +02:00
Christophe
3288df2f89 Added EXT_vector_integer test 2019-07-12 15:44:17 +02:00
Christophe Riccio
9c831a1a76 Added performance tests 2019-05-03 18:24:49 +02:00
Christophe Riccio
a91fb705db Added EXT_vector_integer extension 2019-04-26 19:01:12 +02:00
Christophe Riccio
07c6d56b5f Added initial work for integer vector and scalar functions 2019-04-26 18:32:06 +02:00
Christophe Riccio
6492c8593f - Added mix implementation for matrices in EXT_matrix_common #842 2019-03-01 12:33:09 +01:00
Christophe Riccio
76683aa287 Added vector ulp functions 2018-09-26 18:27: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
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
72327cea4f Added equal and notEqual overload with max ULPs parameters for scalar numbers #121 2018-09-04 02:14:48 +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