860 Commits

Author SHA1 Message Date
Christophe Riccio
ce644e01bb Removed useless copy assignment operators 2018-07-10 19:01:09 +02:00
Christophe Riccio
7ed97b4cab Fixed GCC build 2018-07-10 18:45:48 +02:00
Christophe Riccio
dee806ea3f Use initializer lists for matrix constructor 2018-07-10 18:23:59 +02:00
Christophe Riccio
d746c1eba9 Fixed default and constexpr build issues 2018-07-10 14:28:13 +02:00
Christophe Riccio
e48c5ae892 More use of initializer lists 2018-07-10 11:52:00 +02:00
Christophe Riccio
3308b75836 Use initializer lists constructors for mat2 2018-07-10 10:52:47 +02:00
Groove
65f1fb25bb Redesigned constexpr support which excludes both SIMD and constexpr #783 2018-07-10 01:00:47 +02:00
Groove
baca827371 Redesigned constexpr support which supports both SIMD and constexpr on Clang #783 2018-07-10 00:28:05 +02:00
Groove
d3a2542c77 Fixed build 2018-07-09 23:55:25 +02:00
Groove
13ef0f92bc Added detection of Visual C++ 2017 toolsets 2018-07-09 23:23:24 +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
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
62dfe7adfb Fixed isnan on CUDA #727 2018-05-07 18:21:48 +02:00
Christophe Riccio
d53cd73a0e Fixed mising glm::precision 2018-05-07 12:14:32 +02:00
Torbjørn Viksand
351155b9e1 Do not define GLM_CONSTEXPR_CXX14 on MSVC < 2017 2018-04-10 11:14:22 +02:00
Christophe Riccio
8390a77b3a Added GLM_FORCE_CTOR_INIT #735 #740 2018-03-27 18:23:37 +02:00
Philippe Groarke
2cac15849b cleanup : Remove trailing whitespaces. 2018-03-25 12:44:55 -04:00
Philippe Groarke
47fa70c34b Merge branch 'master' into cleanup 2018-03-25 12:43:32 -04:00
Christophe
1a3f1f22cd
Merge pull request #712 from KageKirin/constexpr-mat-ctors
set mat<>::ctor() to be constexpr #712
2018-03-25 18:10:37 +02:00
Philippe Groarke
fd327cd341 cleanup : Remove trailing whitespaces. 2018-03-24 20:01:03 -04:00
Chris Helmich
3aebd8f8fd added GLM_CONSTEXPR_CXX14 flag to vec<>::operator= and mat<>::operator= 2018-02-05 10:43:18 +09:00
Chris Helmich
dee4f81bc7 added GLM_CONSTEXPR_CTOR_CXX14 flags to mat<>::ctors() 2018-02-05 10:39:25 +09:00
devmane144
abb7fecc5e
Update type_vec4.hpp 2018-02-01 15:01:30 -06:00
devmane144
9b621ee4db
Added the other 3 const & to the file
I added the other 3 const & that I missed.
2018-02-01 14:48:35 -06:00
devmane144
f30f012d37
Adding a const & here for consistency reasons
The other vector types have T const & scalar for their binary operator+
2018-02-01 14:41:44 -06:00
Chris Helmich
4a4af0b80e added flags GLM_CONSTEXPR_CXX14 and GLM_CONSTEXPR_CTOR_CXX14 2018-01-22 11:28:55 +09:00
Christophe Riccio
6390805e6d Fixed zero as null pointer constant 2018-01-05 00:03:29 +01:00
Kai Dietrich
c79dfbc925 Use std::exp2 to implement glm::exp2 when available
Using std::exp and then a multiplication looses a lot of precision which
can cause hard to find bugs (who would expect exp2 to fail?) because all
powers of two with integer exponents can be expressed precisely
with ieee754 floating point.

This also should be good for performance, since exp2 with
integer exponent is just shifting some bits in ieee754 and
good implementers will probably leverage that to implement exp2
efficiently.
2017-10-26 09:43:47 +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
dc3e0b5ccb Added GLM_FORCE_SINGLE_ONLY to use GLM on platforms that don't support double #627 2017-09-23 16:32:25 +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 Riccio
ec5b3fd897 Fixed build #675 2017-08-30 10:28:02 +02:00
Christophe Riccio
d550798ca0 Added EXT_vec1: *vec1 types 2017-08-21 10:36:27 +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
d93a3be4ac - Improved API documentation #668 2017-08-17 16:24:32 +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
d336d3fb27 Fixed no-documentation warnings 2017-08-17 11:40:30 +02:00
Christophe Riccio
fdfd03ffaf Fixed SIMD build 2017-08-16 03:43:17 +02:00
Christophe Riccio
1bbf2dafb9 Fixed SIMD build 2017-08-16 03:28:11 +02:00
Christophe Riccio
8bcf9b5ae7 Fixed SIMD build 2017-08-16 03:09:04 +02:00
Christophe Riccio
211881abf9 Fixed swizzle operators build using SIMD 2017-08-16 02:42:47 +02:00
Christophe Riccio
f327d8e9d4 Fixed swizzle operators build 2017-08-16 02:17:25 +02:00
Christophe Riccio
62d89dcec7 Fixed swizzle operators build 2017-08-16 02:14:40 +02:00
Christophe Riccio
50202f09d9 Fixed swizzle operators build 2017-08-16 02:11:27 +02:00