Commit Graph

3469 Commits

Author SHA1 Message Date
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
Stefan Winkler
f02ce4d6d3 Fix typo in experimental extension warnings 2016-11-30 20:26:35 +01:00
Christophe Riccio
31475c1bb5 Merge branch '0.9.8' 2016-11-25 21:26:18 +01:00
Christophe Riccio
57091f8553 Updated readme 2016-11-25 21:24:59 +01:00
Christophe Riccio
8cde68aba6 Merge branch '0.9.8' 2016-11-25 21:20:26 +01:00
Christophe Riccio
1f8fd8a106 Fixed GTX_matrix_decompose decompose #582 2016-11-25 21:19:55 +01:00
pbruvoll
d48ce7da53 Update sign of all components of scale.
Update all components of scale when determinant is negateve,, not just x component
2016-11-25 21:17:41 +01:00
Christophe
0c40430d65 Merge pull request #582 from pbruvoll/master
Update sign of all components of scale. #582
2016-11-25 16:50:04 +01:00
pbruvoll
b2afe32676 Update sign of all components of scale.
Update all components of scale when determinant is negateve,, not just x component
2016-11-25 16:00:05 +01:00
Christophe Riccio
29f600dfbb Fixed warnings 2016-11-25 00:37:32 +01:00
Christophe Riccio
58c5e0ef4d Fixed intersectRayTriangle #6 2016-11-25 00:33:45 +01:00
Christophe Riccio
07d826e185 Updated travis platforms 2016-11-24 22:59:10 +01:00
Christophe Riccio
d6ae067649 Merge branch '0.9.8' 2016-11-24 22:23:14 +01:00
Christophe Riccio
8f7b681f7f Fixed Travis CI config 2016-11-24 22:22:17 +01:00
Christophe
7034bbdc3d Merge pull request #581 from mgerhardy/patch-2
Removed BOM #581
2016-11-24 21:47:40 +01:00
Martin Gerhardy
dadd57bf26 Removed BOM 2016-11-24 21:36:48 +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
ca0dcce544 Fixed TravisCI on OSX 2016-11-24 21:00:17 +01:00
Christophe Riccio
5e310b51cd Merge branch '0.9.8' 2016-11-24 20:48:57 +01:00
Christophe Riccio
8d2db38e7d Fixed TravisCI on OSX 2016-11-24 20:48:06 +01:00
Christophe Riccio
7ba8f673ac Fixed GLM_FORCE_SWIZZLE #575 2016-11-24 19:47:53 +01:00
Christophe
b494c64de3 Merge pull request #575 from JesseTG/jtg/manual-section-2
Proofread section 2 #575
2016-11-24 19:44:57 +01:00
Christophe Riccio
b8077c1809 Merge branch '0.9.8' 2016-11-24 19:41:48 +01:00
Christophe Riccio
a88584f572 Fixed GCC 6.2 compiler warnings #580 2016-11-24 19:41:06 +01:00
Christophe Riccio
0472c3f4d6 Fixed Travis-CI crahing on OSX, doesn't support AVX it seems 2016-11-24 19:39:28 +01:00
Martin Gerhardy
3f906960db Fixed compiler warnings for g++ 6.2 2016-11-24 19:29:53 +01:00
Christophe
9d411922ed Merge pull request #580 from mgerhardy/patch-1
Fixed compiler warnings  for g++ 6.2 #580
2016-11-24 19:28:17 +01:00
Martin Gerhardy
12d42a2dac Fixed compiler warnings for g++ 6.2 2016-11-24 13:56:30 +01:00
Christophe Riccio
029f1c4738 Merge branch '0.9.8' 2016-11-24 01:27:48 +01:00
Christophe Riccio
ef4425a61d Fixed intersectRayPlane returns true in parallel case #578 2016-11-24 01:27:17 +01:00
Christophe Riccio
098bf5c746 Merge 0.9.8 2016-11-24 01:22:09 +01:00