Commit Graph

4053 Commits

Author SHA1 Message Date
Christophe Riccio
41cf89516e Bring back compatibility with GLM 0.9.8 for project using tvec* with C++11 compiler that support template alias 2017-01-07 12:36:25 +01:00
Christophe Riccio
39f775fa6c Merged 0.9.8 branch 2017-01-07 12:15:08 +01:00
Matiis
c9d38fabe6 Quaternion pitch/eulerAngles singularity handling
Handling of singularity when using pitch or eulerAngles on quaternions like (0.5,0.5,-0.5,0.5)
2017-01-06 23:07:03 +01:00
Christophe Riccio
4e267b1b4f Fixed Visual C++ internal error when declaring a global vec type with siwzzle expression enabled #594 2017-01-04 23:56:47 +01:00
Christophe Riccio
9134d7904a Simplier repro case for #594 2017-01-04 23:41:35 +01:00
Christophe Riccio
90873e607d Simplier repro case for #594 2017-01-04 23:35:02 +01:00
Christophe Riccio
26a013a4f8 Simplier repro case for #594 2017-01-04 23:30:44 +01:00
Christophe Riccio
e75859cb0a Simplier repro case for #594 2017-01-04 23:29:37 +01:00
Christophe Riccio
d9d222555f Simplier repro case for #594 2017-01-04 23:28:07 +01:00
Christophe Riccio
353d4ea7b7 Repro case of MS compiler crash 2017-01-04 23:19:48 +01:00
Christophe Riccio
1df01f6b10 Updated the message: Visual C++ has a bug generating the error: fatal error C1001: An internal error has occurred in the compiler. 2017-01-04 22:54:15 +01:00
Christophe Riccio
a39a9b8eb9 Use new CMake approach to check Visual C++ 2017-01-04 22:31:25 +01:00
Christophe Riccio
bf97e168d5 Fixed build 2017-01-04 22:12:57 +01:00
Christophe Riccio
36eda686dd Updated readme 2017-01-04 21:29:37 +01:00
Christophe Riccio
eda6c93276 More consistent resolution of shadow warnings #595 2017-01-04 21:27:43 +01:00
Christophe
e8962dda2a Merge pull request #596 from g-truc/dim
Parameterize on dimensions #584 for vectors and matrices types #596
2017-01-03 22:38:34 +01:00
Martin Gerhardy
9e45b45062 Fixed more shadow warnings in vec4 simd version 2017-01-03 20:30:31 +01:00
Martin Gerhardy
d63d803e8f Fixed shadow warnings for quaternions 2017-01-03 20:22:54 +01:00
Martin Gerhardy
bc60ce8cc4 Fixed shadow warnings for gcc (vec3 and vec4) 2017-01-03 20:19:52 +01:00
Christophe Riccio
b7dac69b6c Fixed build 2017-01-03 02:29:03 +01:00
Christophe Riccio
1318f942cf Fixed build 2017-01-02 21:24:13 +01:00
Christophe Riccio
71a519387e Updated GLI for tests 2017-01-02 20:52:57 +01:00
Christophe Riccio
7839b862e8 Fixed build 2017-01-01 01:28:15 +01:00
Christophe Riccio
2908ddfbaa Fixed build 2017-01-01 01:13:53 +01:00
Christophe Riccio
5aa2dfd465 Fixed build 2016-12-31 11:46:23 +01:00
Christophe Riccio
1671918bdb Build clang build 2016-12-30 20:45:15 +01:00
Christophe Riccio
a8785bdb7a Fixed build 2016-12-30 20:42:18 +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
b92fdf5a59 matrix type Parameterize on dimensions #584 2016-12-30 16:00:25 +01:00
Christophe Riccio
1477d323d9 Fixed build 2016-12-30 10:26:12 +01:00
Christophe Riccio
f00d666e22 Fixed Visual C++ build #584 2016-12-30 01:35:01 +01:00
Christophe Riccio
9a8724925a Uses L for length template argument #584 2016-12-30 01:31:34 +01:00
Christophe Riccio
0318de8b98 Updated manual #584 2016-12-30 01:26:25 +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
d73fd81812 Merge branch 'master' of https://github.com/g-truc/glm 2016-12-14 17:59:22 +01:00
Christophe
b09fc9cce0 Merge pull request #586 from ranjak/master
CMake: add the option GLM_INSTALL_ENABLE to control installation. #586
2016-12-14 17:49:36 +01:00
Christophe
ccf201c6ba Merge pull request #589 from elect86/patch-1
Update matrix_transform.hpp #589
2016-12-14 17:46:53 +01:00
Giuseppe Barbieri
6f61dd9021 Update matrix_transform.hpp
Typo
2016-12-14 16:20:14 +01:00
Christophe Riccio
0f6bb41a0a Merge branch 'master' of https://github.com/g-truc/glm 2016-12-13 17:49:16 +01:00
ranjak
750d426473 CMake: add the option GLM_INSTALL_ENABLE to control installation.
Fix typo.
2016-12-07 16:22:44 +01:00
Christophe Riccio
85bd36806c Merge branch 'master' of https://github.com/g-truc/glm 2016-12-02 01:14:52 +01:00
Christophe Riccio
dd48b56e44 Updated list of supported compilers 2016-12-02 01:14:36 +01:00
Christophe Riccio
2dda5af72c Fixed GCC 4.5 and older build #566 2016-12-01 23:05:43 +01:00
Christophe
861dce586c Merge pull request #583 from nafest/master
Fix typo in experimental extension warnings #583
2016-11-30 20:34:21 +01:00