Commit Graph

1226 Commits

Author SHA1 Message Date
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
Christophe Riccio
32054a8fdf Fixed warnings with -Weverything 2017-08-08 15:17:25 +02:00
Christophe Riccio
0f34103f4f Fixed warnings with -Weverything 2017-08-08 15:01:07 +02:00
Christophe Riccio
97ac535144 Fixed warnings with -Weverything 2017-08-08 14:59:11 +02:00
Christophe Riccio
d799c282db Fixed warnings 2017-08-08 14:25:06 +02:00
Christophe Riccio
276a7beb19 Fixed warnings 2017-08-08 11:30:21 +02:00
Christophe Riccio
59c11d9531 Tentative fix test with Clang 2017-08-07 23:34:36 +02:00
Christophe Riccio
36178f91e9 More use of GLM constants 2017-08-07 17:28:56 +02:00
Christophe Riccio
a41c4d83d2 Fixed warning tests 2017-08-07 14:34:28 +02:00
Christophe Riccio
e7faf1b683 Fixed GTC_bit_field build 2017-08-07 11:22:18 +02:00
Christophe Riccio
3a3653cfe5 Fixed bitfieldInterleave test 2017-08-07 04:04:15 +02:00
Christophe Riccio
5ada4dbd65 Fixed exponential tests 2017-08-07 03:53:00 +02:00
Christophe Riccio
01bac6a524 Improved exponential funtion test coverage 2017-08-07 03:35:21 +02:00
Christophe Riccio
cedc72e07a Fixed log test 2017-08-07 03:17:46 +02:00
Christophe Riccio
45a716b893 Fixed epsilonEqual build 2017-08-07 03:18:21 +02:00
Christophe Riccio
49435a09da Fixed warings generated using -Weverything 2017-08-07 01:00:36 +02:00
Christophe Riccio
d63aa4ea85 Fixed build 2017-08-06 23:43:53 +02:00
Christophe Riccio
384dab02e4 Reduce the number of warnings with -Weverything #646 2017-08-06 23:00:05 +02:00
Christophe Riccio
e4ffe16bed Revert "Fixed vec4 SIMD constexpr #653"
This reverts commit 950d226154.
2017-08-06 15:49:50 +02:00
Christophe Riccio
950d226154 Fixed vec4 SIMD constexpr #653 2017-07-26 02:06:33 +02:00
Christophe Riccio
aa026cc0da Removed glm::uninitialize 2017-07-25 22:50:31 +02:00
Christophe Riccio
c933f6e591 Clean up GLM_FORCE_NO_CTOR_INIT and fixed tests 2017-07-25 22:15:55 +02:00
Christophe Riccio
f2cb4a3fdf Fixed vec1 test 2017-07-25 21:23:25 +02:00
Christophe Riccio
9443d8d9ca Added length constexpr test #657 2017-07-24 13:17:00 +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
412b562200 Added packing functions for integer vectors #639 2017-06-24 12:12:00 +02:00
Christophe Riccio
cad2c545f6 Fixed bitfield test failure #631 2017-06-04 12:28:55 +02:00
Christophe Riccio
83602bdea4 - Fixed GLM_FORCE_SIZE_T_LENGTH and add test coverage #624 2017-06-04 10:50:47 +02:00
Christophe Riccio
40398d67cd Added vec2 cross #621 2017-04-08 19:37:20 +02:00
Christophe Riccio
96adec5f5e Added Z-order experiments 2017-04-08 19:36:54 +02:00
Christophe Riccio
5459e93446 Added bitfield interleave implementation 2017-03-26 23:51:13 +02:00
Christophe Riccio
7fdf3c34df Added packing tests 2017-03-04 00:55:36 +01:00
Christophe Riccio
4875f79eb0 Removed old compiler version 2017-01-20 22:42:53 +01:00
Christophe Riccio
f5ab820ffe Fixed build 2017-01-07 12:49:45 +01:00
Christophe Riccio
39f775fa6c Merged 0.9.8 branch 2017-01-07 12:15:08 +01:00
Christophe Riccio
4e267b1b4f Fixed Visual C++ internal error when declaring a global vec type with siwzzle expression enabled #594 2017-01-04 23:56:47 +01:00
Christophe Riccio
9134d7904a Simplier repro case for #594 2017-01-04 23:41:35 +01:00
Christophe Riccio
90873e607d Simplier repro case for #594 2017-01-04 23:35:02 +01:00
Christophe Riccio
26a013a4f8 Simplier repro case for #594 2017-01-04 23:30:44 +01:00
Christophe Riccio
e75859cb0a Simplier repro case for #594 2017-01-04 23:29:37 +01:00
Christophe Riccio
d9d222555f Simplier repro case for #594 2017-01-04 23:28:07 +01:00
Christophe Riccio
353d4ea7b7 Repro case of MS compiler crash 2017-01-04 23:19:48 +01:00
Christophe Riccio
1df01f6b10 Updated the message: Visual C++ has a bug generating the error: fatal error C1001: An internal error has occurred in the compiler. 2017-01-04 22:54:15 +01:00
Christophe Riccio
71a519387e Updated GLI for tests 2017-01-02 20:52:57 +01:00
Christophe Riccio
7839b862e8 Fixed build 2017-01-01 01:28:15 +01:00
Christophe Riccio
2908ddfbaa Fixed build 2017-01-01 01:13:53 +01:00
Christophe Riccio
5aa2dfd465 Fixed build 2016-12-31 11:46:23 +01: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
1477d323d9 Fixed build 2016-12-30 10:26:12 +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
Christophe Riccio
4dd748f380 Renamed tvec into vec 2016-12-30 00:03:34 +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
dd48b56e44 Updated list of supported compilers 2016-12-02 01:14:36 +01:00
Christophe Riccio
2dda5af72c Fixed GCC 4.5 and older build #566 2016-12-01 23:05:43 +01:00
Christophe Riccio
29f600dfbb Fixed warnings 2016-11-25 00:37:32 +01:00
Christophe Riccio
58c5e0ef4d Fixed intersectRayTriangle #6 2016-11-25 00:33:45 +01:00
Christophe Riccio
2ea3cd5d7b Fixed GLM test warning 2016-11-24 21:21:54 +01:00
Christophe Riccio
f26628f661 Fixed GLM test warning 2016-11-24 21:19:05 +01:00
Christophe Riccio
3cdb61c4a0 Fixed GLM test warning 2016-11-24 21:16:43 +01:00
Christophe Riccio
bb1debc9e1 Fixed GLM test warning 2016-11-24 21:16:02 +01:00
Christophe Riccio
d39749d1d6 Fixed GLM test warning 2016-11-24 21:12:37 +01:00
Christophe Riccio
1a95482b50 Optimized taylorCos 2016-11-21 00:06:05 +01:00
Christophe Riccio
feef0fb5b9 Fixed Visual C++ 2013 test build 2016-11-20 23:21:14 +01:00
Christophe Riccio
c7e81fb3f7 Merge branch '0.9.8' 2016-11-20 23:04:25 +01:00
Christophe Riccio
9755dea062 Quicker unit tests 2016-11-20 23:02:20 +01:00
Christophe Riccio
c83e38f9fb Prevent TravisCI timeout, shorter test 2016-11-20 22:53:13 +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
1253c6a218 Removed debut code 2016-11-20 21:51:09 +01:00
Christophe Riccio
d4019aab40 Moved color_encoding to experimental 2016-11-20 21:50:12 +01:00
Christophe Riccio
157b4ffbf8 Merge GLM 0.9.8 branch 2016-11-20 21:01:12 +01:00
Christophe Riccio
37e7b6d649 Graft fix for issue 212 2016-11-20 20:54:55 +01:00
Christophe Riccio
7b78138409 Removed debug code 2016-11-20 20:29:21 +01:00
Christophe Riccio
c8e7962fa2 Fixed GTC_packing test on GCC and GLM_ARCH_PURE #577 2016-11-20 20:20:11 +01:00
Christophe Riccio
32cfecba97 Optimized GTC_packing implementation 2016-11-20 19:54:03 +01:00
Christophe Riccio
3cc726c7a4 Trying to figure out what cause the GCC 32bit fail 2016-11-20 18:55:07 +01:00
Christophe Riccio
f26f21fd9d Trying to figure out what cause the GCC 32bit fail 2016-11-20 18:41:46 +01:00
Christophe Riccio
1349bd5555 Trying to figure out what cause the GCC 32bit fail 2016-11-20 18:12:45 +01:00
Christophe Riccio
eb336d64f1 Trying to figure out what cause the GCC 32bit fail 2016-11-20 18:01:05 +01:00
Christophe Riccio
b3cbed5a1e Trying to figure out what cause the GCC 32bit fail 2016-11-20 17:58:45 +01:00
Christophe Riccio
b08d8b95bd Trying to figure out what cause the GCC 32bit fail 2016-11-20 17:43:51 +01:00
Christophe Riccio
c4666ea14c Trying to figure out what cause the GCC 32bit fail 2016-11-20 17:35:13 +01:00
Christophe Riccio
dffcb04e60 Trying to figure out what cause the GCC 32bit fail 2016-11-20 17:25:54 +01:00
Christophe Riccio
1c17d9a27f Trying to figure out what cause the GCC 32bit fail 2016-11-20 17:17:08 +01:00
Christophe Riccio
8bd73b2a3a Trying to figure out what cause the GCC 32bit fail 2016-11-20 17:02:46 +01:00
Christophe Riccio
8b160c0201 It looks like GLM has a but that travis CI shows in this configuration #577 2016-11-19 22:43:02 +01:00
Christophe Riccio
9f6a96f65d Workaround GCC tests failure 2016-11-19 22:10:47 +01:00
Christophe Riccio
f882bf5909 Fixed Visual C++ 2013 test build 2016-11-19 21:46:02 +01:00
Christophe Riccio
a3427f7027 Fixed build system error 2016-11-19 19:59:47 +01:00
Christophe Riccio
7e4007d427 Updated GLI version used in GLM tests 2016-11-18 23:16:29 +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
535040b207 Made quat, vec, mat type component length() static #565 2016-11-01 09:07:04 +01:00
Christophe Riccio
9298939816 length becomes a static function #565 2016-11-01 08:44:14 +01:00
Christophe Riccio
a2684a8fe5 - Added lowp variant of GTC_colorspace convertLinearToSRGB #419 2016-10-16 20:17:29 +02:00
Christophe Riccio
e4c559b29b Added RGBM encoding in GTC_packing #420 2016-10-16 16:40:49 +02:00
Christophe Riccio
09a81dad23 Merge branch '0.9.8' 2016-10-12 21:40:15 +02:00
Christophe Riccio
1c85265f97 Added Visual C++ 15 detection, Added Clang 4.0 detection, Refactored GLM_COMPILER_VC values 2016-10-12 21:40:03 +02:00
Christophe Riccio
a1c262e283 Merge branch '0.9.8' 2016-10-10 22:09:09 +02:00
Christophe Riccio
19a6d64e8c Fixed Visual C++ constexpr build error #555, #556 2016-10-10 22:03:57 +02:00
Christophe Riccio
30c9391aeb Merge 0.9.8 2016-09-25 10:37:41 +02:00
Christophe Riccio
b7a286b186 Renamed test 2016-09-25 10:35:30 +02:00
Christophe Riccio
f5f8620056 Added pure test 2016-09-25 10:29:08 +02:00
Christophe Riccio
b719a9f6cc Added test for GCC 2016-09-18 19:30:51 +02:00
Christophe Riccio
8c960dc647 Alignof is a C++11 feature 2016-09-18 19:30:30 +02:00
Christophe Riccio
d8e30c5fde Improved core_type_aligned test 2016-09-18 19:30:14 +02:00
Christophe Riccio
24532ecbf1 Added aligned storage tests #548 2016-09-18 19:30:00 +02:00
Christophe Riccio
746efbeeda Added test for GCC 2016-09-18 19:26:17 +02:00
Christophe Riccio
89d77b51c6 Alignof is a C++11 feature 2016-09-14 23:38:43 +02:00
Christophe Riccio
39455067dc Improved core_type_aligned test 2016-09-14 23:18:52 +02:00
Christophe Riccio
e2ae466059 Added aligned storage tests #548 2016-09-14 22:33:59 +02:00
Christophe Riccio
7d73a5d320 Fixed test 2016-09-11 13:32:51 +02:00
Christophe Riccio
8a54ba3462 Added GTC_color_encoding 2016-09-11 02:50:08 +02:00
Christophe Riccio
d029db8ac0 Merge 0.9.8 2016-09-02 01:46:56 +02:00
Christophe Riccio
a609a0fea6 - Added more information to build messages 2016-09-02 00:30:37 +02:00
Christophe Riccio
10dc67e2b5 - Added GLM_FORCE_UNRESTRICTED_GENTYPE allowing non basic genType #543 2016-09-01 23:32:12 +02:00
Christophe Riccio
f71171d49b Fixed 32-bits build #528 #529, fixed VC 32 bits crash 2016-08-07 12:43:38 +02:00
Christophe Riccio
0dbdf3fad4 Fixed 32-bits build #528 #529, fixed VC 32 bits crash 2016-08-07 12:42:45 +02: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
8c8c8367e3 Improved aligned types support 2016-07-17 03:37:24 +02:00
Christophe Riccio
b3d57f2cc9 Improved aligned types support 2016-07-17 03:06:58 +02:00
Christophe Riccio
eb20cdc6ae Added precision qualifier tests 2016-07-17 02:17:25 +02:00
Christophe Riccio
48ab7db993 Merge branch '0.9.8' 2016-07-17 01:13:47 +02:00
Christophe Riccio
dc89797275 - Added quaternion version of isnan and isinf #521 2016-07-17 01:02:30 +02:00
Christophe Riccio
630f0840f2 Removed 0.9.8 deprecated extensions 2016-07-16 23:46:41 +02:00
Christophe Riccio
7eb0adb7a5 Clean up 2016-07-16 23:41:50 +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
6271aa1530 Merged 0.9.7 branch, Factorized GLM_COMPILER_LLVM and GLM_COMPILER_APPLE_CLANG into GLM_COMPILER_CLANG 2016-07-16 00:54:05 +02:00
Christophe Riccio
76fce77337 - Updated list of compiler versions detected 2016-07-15 23:49:20 +02:00
Christophe Riccio
6e9b524be1 Fixed matrix functions using SIMD code on unaligned types #518 2016-07-14 15:21:45 +02:00
Christophe Riccio
b8b43e6a4d Added GTC_functions extension 2016-07-14 15:20:44 +02:00
Christophe Riccio
0e1e181484 Clean up 2016-06-10 23:14:17 +02:00
Christophe Riccio
4155e5b820 Workaround GCC build with GLM_FORCE_PURE defined 2016-06-02 02:54:05 +02:00
Christophe Riccio
731a263325 Fixed bitcount build errors 2016-06-02 02:32:54 +02:00
Christophe Riccio
5fdca07eee Clean up 2016-06-02 01:01:36 +02:00
Christophe Riccio
fd4ada5843 Support aligned *vec* even when SIMD isn't enabled 2016-06-02 00:33:55 +02:00
Christophe Riccio
41984e42ab Added GTC_type_aligned with aligned *vec* types 2016-06-01 00:43:35 +02:00
Christophe Riccio
688756b3e2 SIMD matrix functions optimizations 2016-05-30 18:01:06 +02:00
Christophe Riccio
52f8ecd973 Added AVX optimizations and equal tests 2016-05-30 14:23:58 +02:00
Christophe Riccio
9ed2a9601b Adde vec4 swizzle operators SIMD optimizations 2016-05-30 02:00:32 +02:00
Christophe Riccio
b9199a2c1a Refactoring of swizzle operators, preparing for vec4 swizzle SIMD optimizations 2016-05-30 01:39:16 +02:00
Christophe Riccio
28cb770d14 SIMD common functions optimizations 2016-05-29 19:14:39 +02:00
Christophe Riccio
42d86b8955 Fixed exponential low level API 2016-05-29 03:14:19 +02:00
Christophe Riccio
20cf68679c SIMD sqrt optimizations including lowp 2016-05-29 02:57:53 +02:00
Christophe Riccio
7fe2f5fe65 Renamed instruction set flags 2016-05-28 19:26:59 +02:00
Christophe Riccio
d33e3df02a Fixed SIMD code path selection 2016-05-28 18:24:39 +02:00
Christophe Riccio
ab159770b3 mad optimizations, fixed build 2016-05-28 17:12:48 +02:00
Christophe Riccio
fdec412ff7 Added FMA SIMD optimization 2016-05-28 12:31:43 +02:00
Christophe Riccio
a9fefc7300 Added vec4 SIMD contructor specialization 2016-05-28 01:33:29 +02:00
Christophe Riccio
f577611328 Added bitwise inverse SIMD optimization. Factorized bitwise optimization code 2016-05-27 23:03:38 +02:00
Christophe Riccio
4797ea9540 Added specialized SSE2 and AVX bool mix 2016-05-26 02:47:43 +02:00
Christophe Riccio
72c741d8ea Fixed sign with signed integer function on non-x86 architecture 2016-05-24 13:29:18 +02:00
Christophe Riccio
757fe39587 Removed simd precision qualifier. All precision qualifiers may generate SIMD instructions, precision may affect the generated instructions accordingly 2016-05-22 17:12:32 +02:00
Christophe Riccio
93612791cd Removed Apple specific check for LLVM versions 2016-05-04 18:46:59 +02:00
Christophe Riccio
affd5f3ba0 Fixed CUDA compiler error in type_vec4.inl #504 2016-05-04 16:35:57 +02:00
Christophe Riccio
1f71f6fb3a Improved SIMD and swizzle operators interactions with GCC and Clang, Added raw SIMD API. 2016-05-03 23:57:41 +02:00
Christophe Riccio
1becd76c5f Fixed build 2016-05-01 12:39:16 +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
be8d6c9ccc Fixed test 2016-05-01 01:40:06 +02:00
Christophe Riccio
fa6f5cdcbb Fixed warning 2016-05-01 01:35:54 +02:00
Christophe Riccio
2f9fc55d88 More experiments to improve SIMD support 2016-05-01 01:12:22 +02:00
Christophe Riccio
23ab8137f9 Fixed GTX_type_trait linking 2016-04-30 01:59:46 +02:00
Christophe Riccio
01fa13380d Merge branch 'master' of https://github.com/regnirpsj/glm into type_trait 2016-04-29 23:29:09 +02:00
Christophe Riccio
b3cae39ea6 Merge 0.9.7 2016-04-29 17:37:27 +02:00
Christophe Riccio
872aa9d8ec Improved ***PowerOfTwo 2016-04-29 17:31:36 +02:00
Christophe Riccio
68ec048b70 Fixed roundPowerOfTwo and floorPowerOfTwo #503 2016-04-29 17:24:35 +02:00
Christophe Riccio
76d12fb602 Fixed roundPowerOfTwo and floorPowerOfTwo #503 2016-04-29 10:51:21 +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
Christophe Riccio
86c58b8b8b Added iround and uround to GTC_integer, fast round on positive values 2016-03-10 21:53:08 +01:00
Christophe Riccio
52d05aee76 Fixed build 2016-03-10 21:24:37 +01:00
Christophe Riccio
c853df1638 Added uround to GTC_integer, fast round on positive values 2016-03-10 21:17:46 +01:00
Paul Konstantin Gerke
239cf70ade Fixed: outerProduct was defined incorrectly for unmatched vecX types. E.g. outerProduct(vec2, vec4) did not succeed because the matrix return types were wrong. The computing function seemed fine. I used https://en.wikipedia.org/wiki/Outer_product as reference on what the number of columns/rows ''should'' be and fixed it so that it matches the description from wikipedia
Added: tests for outerProduct with unmatched vector dimensions (actually testing all combinations now)
2016-03-05 23:51:20 +01:00
Angelica Wrangler
72a8ba473d Merge pull request #475 from MrApplejuice/master
Fixed: outerProduct defintions and operator signatures for mat2x4 and vec4 #475
2016-03-05 23:18:21 +01:00
Christophe Riccio
5fad3f437d Added more tests for ceilMultiple 2016-03-02 21:44:59 +01:00
Christophe Riccio
57316860a1 Fixed ceilMultiple test 2016-03-02 21:42:13 +01:00
Christophe Riccio
c6aa981e2a Added ceilMultiple test with integers 2016-03-02 21:32:44 +01:00
Joonas Sarajärvi
bc09ecf898 setup: detect GCC 6.0 2016-02-15 20:27:10 +01:00
Joonas Sarajärvi
f0acbbd4ac setup: detect GCC 6.0 2016-02-04 19:42:25 +02:00
Paul Konstantin Gerke
fb309e0eff Fixed: outerProduct was defined incorrectly for unmatched vecX types. E.g. outerProduct(vec2, vec4) did not succeed because the matrix return types were wrong. The computing function seemed fine. I used https://en.wikipedia.org/wiki/Outer_product as reference on what the number of columns/rows ''should'' be and fixed it so that it matches the description from wikipedia
Added: tests for outerProduct with unmatched vector dimensions (actually testing all combinations now)
2016-01-24 21:14:25 +01:00
humbletim
5d46e5186d remove extraneous test block 2016-01-03 18:30:29 +01:00
Adrian Krupa
c9400562ec Fixed build 2016-01-03 18:25:45 +01:00
humbletim
52c9f124e3 Fixed ldexp and frexp compilation errors 2016-01-03 18:20:13 +01:00