Commit Graph

406 Commits

Author SHA1 Message Date
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
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
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
c7e81fb3f7 Merge branch '0.9.8' 2016-11-20 23:04:25 +01:00
Christophe Riccio
c83e38f9fb Prevent TravisCI timeout, shorter test 2016-11-20 22:53:13 +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
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
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
19a6d64e8c Fixed Visual C++ constexpr build error #555, #556 2016-10-10 22:03:57 +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
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
dc89797275 - Added quaternion version of isnan and isinf #521 2016-07-17 01:02:30 +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
0e1e181484 Clean up 2016-06-10 23:14:17 +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