Commit Graph

387 Commits

Author SHA1 Message Date
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
7086d902e2 Fixed relational code, reduced header dependencies 2018-08-05 18:24:22 +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
e1d21258e7 Split headers to improve compilation time #670 2018-08-01 18:24:31 +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
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
d6b0b9b1ef Fixed error: comparing floating point with == or != is unsafe 2018-07-28 20:51:13 +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
7c9c8cbd6f Fixed clang build 2018-07-23 20:13:40 +02:00
Groove
1ad1edf315 Fixed clang warning 2018-07-12 21:18:44 +02:00
Groove
c7b6cf56e3 Fixed swizzle functions and tests 2018-07-12 00:36:59 +02:00
Christophe Riccio
0f2e1fa493 Fixed build 2018-07-11 17:49:15 +02:00
Christophe Riccio
11c26f9edb Fixed build problems due to printf and std::clock_t #778 2018-06-18 12:40:00 +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
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
Vitali Parkhomenko
a74cd55d8d #744 Added tests 2018-03-23 14:27:35 +03:00
Christophe Riccio
c585cb9d6c Added quat left and right handed tests #703 2018-01-06 19:58:39 +01:00
Giuseppe Barbieri
5d0fa00c39
Update gtx_matrix_interpolation.cpp 2017-12-19 14:47:02 +01: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
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
Aaron
8150e4848b Added more testing for fmin/fmax nan cases 2017-08-21 11:40:37 -07: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
e9f210c85f Enable /WX, warning as error on Visual Studio 2017-08-17 19:51:03 +02:00
Christophe Riccio
d93a3be4ac - Improved API documentation #668 2017-08-17 16:24:32 +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
36c196b195 Fixed warnings 2017-08-10 02:25:37 +02:00
Christophe Riccio
5d77861141 Fixed warnings 2017-08-09 22:40:33 +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
276a7beb19 Fixed warnings 2017-08-08 11:30:21 +02:00
Christophe Riccio
36178f91e9 More use of GLM constants 2017-08-07 17:28:56 +02:00
Christophe Riccio
c933f6e591 Clean up GLM_FORCE_NO_CTOR_INIT and fixed tests 2017-07-25 22:15:55 +02:00
Christophe
a61483b34a Merge pull request #659 from CaptainCarrot/QuatLookAt
Added a quaternion-based "Look At" function #659
2017-07-24 12:05:18 +02:00
Christophe Riccio
50a527c97d - Fixed integer pow from GTX_integer with null exponent #658 2017-07-24 11:39:16 +02:00
CaptainCarrot
df7f6cc03c Update gtx_quaternion.cpp 2017-07-22 17:20:45 +02:00
CaptainCarrot
9a21766906 Update gtx_quaternion.cpp 2017-07-22 17:10:31 +02:00
CaptainCarrot
7223cd1b47 Add files via upload 2017-07-22 17:08:49 +02:00
Christophe Riccio
566d20e8cf Fixed GTX_matrix_factorisation tests to return the number of errors #654 2017-07-07 09:58:34 +04:30
Vincent Aymong
a4a6ea2825 std::abs instead of just abs. Fixes compilation issues with gcc. 2017-07-06 19:17:55 -04:00
Vincent Aymong
f9962054d9 Make C++98 compliant 2017-07-06 17:45:40 -04:00
Vincent Aymong
80bd3f16c1 More comments
Fix RQ test
Slight optimisation in QR
2017-07-06 15:01:19 -04:00
Vincent Aymong
d6abdb7935 Implements QR and RQ matrix decomposition functions. 2017-07-05 18:52:46 -04:00
Christophe Riccio
26b3e3ed78 Fixed axisAngle NaN #638 2017-06-24 12:43:00 +02:00
Christophe Riccio
40398d67cd Added vec2 cross #621 2017-04-08 19:37:20 +02:00
Christophe Riccio
c2fe3fccf6 Use length_t instead of int for vec and mat lengths #584 2016-12-30 20:05:04 +01:00
Christophe Riccio
b92fdf5a59 matrix type Parameterize on dimensions #584 2016-12-30 16:00:25 +01:00
Christophe Riccio
947b07cbc4 remove template alias for more compiler support and simplified swizzle expression implementation #584 2016-12-30 01:23:29 +01:00
John McFarlane
506a487d24 parameterize number of dimensions of vector in tvec<D, T, P>
- specializes for 1, 2, 3 and 4-dimensional vector types
  which are then aliased as tvec1, tvec2, tvec3 and tvec4
- requires C++11 aliases; breaks compatability with C++03
- tested on:
  - clang-3.5.2, clang-3.8.0
  - gcc 4.8.5, gcc 5.4.1, gcc 6.2.0

TODO:
- still uses template template parameters - most can probably be removed
- some definitions might now be de-duplicated
2016-12-28 17:07:12 -08:00
Christophe Riccio
58c5e0ef4d Fixed intersectRayTriangle #6 2016-11-25 00:33:45 +01:00
Christophe Riccio
1a95482b50 Optimized taylorCos 2016-11-21 00:06:05 +01:00
Christophe Riccio
5b9d5cae99 Fixed tests 2016-11-20 22:28:22 +01:00
Christophe Riccio
572e407d60 Fixed build 2016-11-20 22:10:11 +01:00
Christophe Riccio
d4019aab40 Moved color_encoding to experimental 2016-11-20 21:50:12 +01:00
Christophe Riccio
6482dd29d2 Added GLM_ENABLE_EXPERIMENTAL 2016-11-12 14:19:22 +01:00
Christophe Riccio
a17f795aaf Added GTX_vec_swizzle, faster compile time swizzling then swizzle operator #558 2016-11-01 22:36:49 +01:00
Christophe Riccio
44a981ea68 Merge 0.9.8 2016-11-01 09:16:29 +01:00
Christophe Riccio
c4f52dc98f Added test for quat type component length() static #565 2016-11-01 09:14:28 +01:00
Christophe Riccio
55d7fa2775 Merge branch '0.9.8' 2016-08-06 19:28:34 +02:00
Christophe Riccio
edc328c7c9 Fixed GTX_wrap #534, improved GTX_wrap for SIMD friendliness 2016-08-06 19:28:16 +02:00
Christophe Riccio
ecc91d4361 Merge 0.9.8 branch 2016-07-17 11:52:15 +02:00
Christophe Riccio
4ab9776756 Fixed build error 2016-07-17 03:43:56 +02:00
Christophe Riccio
630f0840f2 Removed 0.9.8 deprecated extensions 2016-07-16 23:46:41 +02:00
Christophe Riccio
6a6b54b699 Fixed long long warnings, fixed precision qualifier values on Clang where qualifiers had the same values 2016-07-16 22:34:07 +02:00
Christophe Riccio
0e1e181484 Clean up 2016-06-10 23:14:17 +02:00
Christophe Riccio
96963f88cc Single file for simd specialization 2016-05-01 05:00:13 +02:00
Christophe Riccio
5f05a5e953 Clean up inverse SSE code 2016-05-01 03:42:47 +02:00
Christophe Riccio
23ab8137f9 Fixed GTX_type_trait linking 2016-04-30 01:59:46 +02:00
jan p springer
e54f0cc5cd Merge remote-tracking branch 'upstream/master' 2016-04-05 23:48:48 +01:00
Christophe Riccio
66b714c418 Finishing up removing GLM_FORCE_SIZE_FUNC define and passing by copy scalars 2016-03-23 02:01:16 +05:30
jan p springer
25d6c8e341 update: date stamps + GLM_META_PROG_HELPERS pre-requiste 2016-03-14 16:37:30 +00:00
jan p springer
ca7a4ed4fe Merge remote-tracking branch 'upstream/master' 2016-03-14 12:35:35 +00:00
Christophe Riccio
07689bcc4d Fixed build, updated manual for 0.9.8 2016-03-13 13:17:51 +01:00
Christophe Riccio
234d7d4ba9 Simplify code removing GLM_FORCE_SIZE_FUNC, GLM_META_PROG_HELPERS, GLM_STATIC_CONST_MEMBERS and 'type' type trait. Added experiments for GTX_type_trait 2016-03-13 12:56:26 +01:00