Commit Graph

816 Commits

Author SHA1 Message Date
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
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
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