860 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
b92fdf5a59 matrix type Parameterize on dimensions #584 2016-12-30 16:00:25 +01:00
Christophe Riccio
9a8724925a Uses L for length template argument #584 2016-12-30 01:31:34 +01:00
Christophe Riccio
99c19e9fc2 Clean up 2016-12-30 01:25:09 +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
d7fd5a61da fixes VS2013 compiler errors 2016-12-29 07:25:18 -08:00
John McFarlane
26672ab0de fixes VS2015 compiler errors 2016-12-29 06:57:20 -08: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
06f084063f Clean up GLM_STATIC_CONST_MEMBERS #591 2016-12-17 19:47:11 +01:00
Christophe Riccio
2dda5af72c Fixed GCC 4.5 and older build #566 2016-12-01 23:05:43 +01:00
Martin Gerhardy
3f906960db Fixed compiler warnings for g++ 6.2 2016-11-24 19:29:53 +01:00
Martin Gerhardy
12d42a2dac Fixed compiler warnings for g++ 6.2 2016-11-24 13:56:30 +01:00
Christophe Riccio
969394a5eb Optimized noise functions 2016-11-20 23:27:08 +01:00
Christophe Riccio
6482dd29d2 Added GLM_ENABLE_EXPERIMENTAL 2016-11-12 14:19:22 +01:00
Christophe Riccio
79f6d7082c Bump revision number for next 0.9.8 release 2016-11-12 12:11:43 +01:00
Christophe Riccio
6a1e2ec5d5 Updated version 2016-11-12 12:07:21 +01:00
Christophe Riccio
970dff0f2b Merge GLM 0.9.8 2016-11-09 21:41:50 +01:00
Christophe Riccio
6b0c3b48cc Fixed bitCount with AVX on 32 bit builds #567 2016-11-09 21:39:09 +01:00
Christophe Riccio
c87e9bed0d Updated revision number 2016-11-09 21:21:09 +01:00
Christophe Riccio
31f37aa89c Merge branch '0.9.8' 2016-11-01 23:35:04 +01:00
Christophe Riccio
33ea25c052 Broader support of GLM_FORCE_UNRESTRICTED_GENTYPE #378 2016-11-01 23:34:37 +01:00
Christophe Riccio
9d96f10491 Merge GLM 0.9.8 branch 2016-11-01 23:11:03 +01:00
Christophe Riccio
b45d5e8650 Fixed Android build error with C++11 compiler but C++98 STL #284 #564 2016-11-01 23:10:06 +01:00
Christophe Riccio
44a981ea68 Merge 0.9.8 2016-11-01 09:16:29 +01:00
Christophe Riccio
535040b207 Made quat, vec, mat type component length() static #565 2016-11-01 09:07:04 +01:00
Christophe Riccio
2e9f580615 vector/matrix component length() static #565 2016-11-01 08:44:19 +01:00
Christophe Riccio
9298939816 length becomes a static function #565 2016-11-01 08:44:14 +01:00
Christophe Riccio
9d4f0ba758 Merge branch '0.9.8' 2016-10-16 14:51:57 +02:00
Christophe Riccio
e98ce44d85 Added warning messages when using GLM_FORCE_CXX** but the compiler is known to not fully support the requested C++ version #555 2016-10-16 14:51: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
5f5e800a24 Fixed clang and GCC build #559 2016-10-12 10:45:43 +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
cae9f61e46 Updated GLM 0.9.8 revision 2016-09-25 12:15:46 +02:00
Christophe Riccio
18ea7063c4 Updated version 2016-09-25 10:44:01 +02:00
Christophe Riccio
8c960dc647 Alignof is a C++11 feature 2016-09-18 19:30:30 +02:00
Christophe Riccio
6a30bbbe51 Fixed GCC build broken by #548 PR 2016-09-18 19:29:46 +02:00
Aaron
ca0b7a9929 Merged graft commit 2016-09-18 19:29:10 +02:00
Christophe Riccio
89d77b51c6 Alignof is a C++11 feature 2016-09-14 23:38:43 +02:00
Christophe Riccio
fa51f18b0c Fixed GCC build broken by #548 PR 2016-09-14 22:01:30 +02:00
Christophe Riccio
4175505a83 Merge branch 'master' of https://github.com/amc522/glm into 0.9.8-align 2016-09-14 21:44:46 +02:00
Aaron
e57615b6bb Changed how storage alignment is created to eliminate warnings on msvc. 2016-09-13 00:36:43 -07:00
Christophe Riccio
cb7179239b - Fixed GCC 4.8 with C++11 compilation option #550 2016-09-13 00:21:56 +02:00
Jason P. Barmparesos
f3044dde88 Fixed bug on the faceforward function. 2016-09-13 00:01:09 +02:00
Aaron
460b6ba1b6 Corrected test for msvc compiler 2016-09-12 10:55:01 -07:00
Aaron
ec5e34e04f Fixed some msvc warnings. Tested on msvc 2015 update 3. 2016-09-11 21:55:22 -07:00
Sami Kankaristo
e9e26ab926 Change -pedantic to -Wpedantic 2016-09-11 17:18:35 +02:00
Christophe Riccio
3c4fe6133e Prepare GLM 0.9.8.1 2016-09-11 14:02:08 +02:00