90 Commits

Author SHA1 Message Date
Philippe Groarke
fd327cd341 cleanup : Remove trailing whitespaces. 2018-03-24 20:01:03 -04:00
Christophe Riccio
fcbedf5058 Fixed glm::step that didn't work with scalars #684 2017-10-22 16:58:09 +02:00
Christophe Riccio
ec5b3fd897 Fixed build #675 2017-08-30 10:28:02 +02:00
Christophe Riccio
fc53581c68 Fixed Better follow GLSL min and max specification #372 2017-08-20 16:53:50 +02:00
Christophe Riccio
2240849164 Improve API documentation 2017-08-17 17:36:40 +02:00
Christophe Riccio
fdf92ba340 Avoid duplicated code 2017-08-17 15:20:23 +02:00
Christophe Riccio
4bc87efa09 Fixed build on GCC 7.1 2017-08-17 15:12:31 +02:00
Christophe Riccio
007a97216a Tentative fix for GCC 6 2017-08-17 13:22:50 +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
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
384dab02e4 Reduce the number of warnings with -Weverything #646 2017-08-06 23:00:05 +02:00
Christophe Riccio
aa026cc0da Removed glm::uninitialize 2017-07-25 22:50:31 +02:00
Christophe Riccio
1ad55c5016 Reduced warnings when using very strict compilation flags #646 2017-07-07 11:26:12 +04:30
Christophe Riccio
ff64d51a1c Merge 0.9.8 branch 2017-03-27 00:03:37 +02:00
Nouri Khalass
21b9096428 Fixed typo 2017-01-21 20:46:11 +01:00
Nouri Khalass
a3a8f84f6b Fix issue #600 and #605
This issue was caused by an incorrect number of template arguments.
2017-01-21 19:47:41 +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
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
Martin Gerhardy
12d42a2dac Fixed compiler warnings for g++ 6.2 2016-11-24 13:56:30 +01:00
Christophe Riccio
33ea25c052 Broader support of GLM_FORCE_UNRESTRICTED_GENTYPE #378 2016-11-01 23:34:37 +01: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
dcdc966969 Workaround Cuda compiler bug #530 2016-08-06 19:40:39 +02:00
Christophe Riccio
cd50d4ae5c Tentative CUDA workaround #530 2016-08-06 19:35:46 +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
b357636d0f Fixed GCC build 2016-06-01 20:03:36 +02:00
Christophe Riccio
41984e42ab Added GTC_type_aligned with aligned *vec* types 2016-06-01 00:43:35 +02:00
Christophe Riccio
28cb770d14 SIMD common functions optimizations 2016-05-29 19:14:39 +02:00
Christophe Riccio
2386237528 common function SIMD optimization 2016-05-29 17:58:53 +02:00
Christophe Riccio
e71c98c5eb Fixed GCC build 2016-05-29 15:32:23 +02:00
Christophe Riccio
9e9ffe65f1 Fixed build 2016-05-29 15:28:54 +02:00
Christophe Riccio
340083edce Add SIMD optimization for common functions 2016-05-29 15:08:34 +02:00
Christophe Riccio
c5f48da319 Fixed build with compiler that doesn't support GLM_HAS_UNRESTRICTED_UNIONS 2016-05-28 00:10:18 +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
0e780a5efd - Use Cuda built-in function for abs function implementation with Cuda compiler 2016-05-22 18:04: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
83999c749a Reorganized SIMD code 2016-05-01 12:29:11 +02:00
Christophe Riccio
96963f88cc Single file for simd specialization 2016-05-01 05:00:13 +02: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
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
Christophe Riccio
adb03bee5c Fixed ICC on Linux build errors #449 2016-01-03 18:08:00 +01:00
Christophe Riccio
2f2782d72a Fixed ICC on Linux build errors #449 2016-01-03 16:03:30 +01:00
humbletim
8c55a64fdd Fixed ldexp compilation error 2015-12-19 19:22:33 -05:00
Adrian Krupa
8fd8c56074 Fixed frexp compilation error 2015-11-29 20:53:04 +01:00