Commit Graph

2261 Commits

Author SHA1 Message Date
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
Giuseppe Barbieri
6f61dd9021 Update matrix_transform.hpp
Typo
2016-12-14 16:20:14 +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
Stefan Winkler
f02ce4d6d3 Fix typo in experimental extension warnings 2016-11-30 20:26:35 +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
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
58c5e0ef4d Fixed intersectRayTriangle #6 2016-11-25 00:33:45 +01:00
Martin Gerhardy
dadd57bf26 Removed BOM 2016-11-24 21:36:48 +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
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
b5766d1514 Tentative fix for #512 2016-11-24 01:18:51 +01:00
Christophe Riccio
234d442e0a Tentative fix for #512 2016-11-23 23:13:54 +01:00
Christophe Riccio
1a95482b50 Optimized taylorCos 2016-11-21 00:06:05 +01:00
Christophe Riccio
3945098589 Optimised GTX_color_space_YCoCg YCoCgR conversions 2016-11-20 23:44:08 +01:00
Christophe Riccio
b09f395cd2 Optimized GTX_matrix_interpolation axisAngle function 2016-11-20 23:39:22 +01:00
Christophe Riccio
29535189f1 Optimized taylorCos 2016-11-20 23:33:08 +01:00
Christophe Riccio
969394a5eb Optimized noise functions 2016-11-20 23:27:08 +01:00
Christophe Riccio
8873915118 Fixed glm::decompose #448 2016-11-20 22:24:32 +01:00
Christophe Riccio
d4019aab40 Moved color_encoding to experimental 2016-11-20 21:50:12 +01:00
Christophe Riccio
32cfecba97 Optimized GTC_packing implementation 2016-11-20 19:54:03 +01:00
Christophe Riccio
d8ca117cb6 Updated doxygen API doc 2016-11-13 00:39:32 +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
66bbb69a75 Removed doxygen references to GTC_half_float which was removed in 0.9.4 2016-11-09 22:24:44 +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
Patrik Huber
80390afd82 Changed T() to static_cast<T> 2016-11-09 21:16:03 +01:00
Patrik Huber
282473be24 Fixed missing conversion to T 2016-11-09 21:15:56 +01:00
Patrik Huber
e1e1dd1ebc Changed T() to static_cast<T> 2016-11-08 11:27:32 +00:00
Patrik Huber
d33cbe42a6 Fixed missing conversion to T 2016-11-07 21:41:43 +00:00
Christophe Riccio
1a460419f9 Fixed GTX_vec_swizzle build 2016-11-02 20:44:25 +01:00
Christophe Riccio
08a2985d65 Merge branch '0.9.8' 2016-11-01 23:57:36 +01:00
Christophe Riccio
03672e9428 Fixed GTX_transform2 shear* functions #403 2016-11-01 23:44:03 +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
a17f795aaf Added GTX_vec_swizzle, faster compile time swizzling then swizzle operator #558 2016-11-01 22:36:49 +01:00
Christophe
7157969a05 Merge pull request #558 from amc522/swizzle_alternate
Alternate functions for creating swizzles of vectors #558
2016-11-01 22:27:47 +01:00
Christophe Riccio
842ae44f6d Updated minimum compiler version required 2016-11-01 09:56:07 +01:00