Christophe Riccio
4cf8a10af2
No more default initialization of vector, matrix and quaternion types
2017-07-24 12:46:54 +02:00
Christophe Riccio
3c7bd2eb53
Fixed quat normalize build error #656
2017-07-24 12:09:20 +02:00
Christophe Riccio
1b78e2b681
length() member functions are constexpr #657
2017-07-24 12:01:44 +02:00
Christophe Riccio
412b562200
Added packing functions for integer vectors #639
2017-06-24 12:12:00 +02:00
Christophe Riccio
4e6574749d
Fixed references to GLM_FORCE_RADIANS which was removed #642
2017-06-23 19:39:11 +02:00
Christophe Riccio
a9a832e187
- Added error for including of different versions of GLM #619 - Added GLM_FORCE_IGNORE_VERSION to ignore error caused by including different version of GLM #619
2017-06-04 11:36:13 +02:00
Christophe Riccio
d53e36782b
- Fixed packF3x9_E1x5 exponent packing #614
2017-02-28 22:19:26 +01:00
Christophe
c8ddeea744
Merge pull request #599 from Matiis/master
...
Quaternion pitch/eulerAngles singularity handling #599
2017-01-07 14:33:14 +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
eda6c93276
More consistent resolution of shadow warnings #595
2017-01-04 21:27:43 +01:00
Martin Gerhardy
d63d803e8f
Fixed shadow warnings for quaternions
2017-01-03 20:22:54 +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
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
f00d666e22
Fixed Visual C++ build #584
2016-12-30 01:35:01 +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
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
Giuseppe Barbieri
6f61dd9021
Update matrix_transform.hpp
...
Typo
2016-12-14 16:20:14 +01:00
Christophe Riccio
2dda5af72c
Fixed GCC 4.5 and older build #566
2016-12-01 23:05:43 +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
66bbb69a75
Removed doxygen references to GTC_half_float which was removed in 0.9.4
2016-11-09 22:24:44 +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
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
44a981ea68
Merge 0.9.8
2016-11-01 09:16:29 +01:00
Christophe Riccio
2e9f580615
vector/matrix component length() static #565
2016-11-01 08:44:19 +01:00
Christophe Riccio
9298939816
length becomes a static function #565
2016-11-01 08:44:14 +01:00
Christophe Riccio
a2684a8fe5
- Added lowp variant of GTC_colorspace convertLinearToSRGB #419
2016-10-16 20:17:29 +02:00
Christophe Riccio
e4c559b29b
Added RGBM encoding in GTC_packing #420
2016-10-16 16:40:49 +02:00
amc522
74d3870160
Alternate functions for creating swizzles of vectors
2016-10-09 17:27:59 -07:00
Aaron
f2135a0ca3
Fixed scaling factors for packing and unpacking unorm555 and unorm565
2016-09-18 21:54:12 +02:00
Aaron
47abea7dba
Fixed scaling factors for packing and unpacking unorm555 and unorm565
2016-09-11 22:49:15 -07:00
Sami Kankaristo
e9e26ab926
Change -pedantic to -Wpedantic
2016-09-11 17:18:35 +02:00
Christophe Riccio
bcc6879b4b
Fixed build
2016-09-11 03:24:37 +02:00
Christophe Riccio
3d6791ef00
Merge
2016-09-11 03:13:06 +02:00
Christophe Riccio
24075d56dd
Fixed build
2016-09-11 03:11:37 +02:00
Christophe Riccio
8a54ba3462
Added GTC_color_encoding
2016-09-11 02:50:08 +02:00
Christophe Riccio
4be686d1fe
Merged 0.9.8
2016-09-11 00:21:34 +02:00
Christophe Riccio
c9831664c9
Updated manual
2016-09-11 00:19:17 +02:00
Christophe Riccio
d029db8ac0
Merge 0.9.8
2016-09-02 01:46:56 +02:00
Christophe Riccio
a609a0fea6
- Added more information to build messages
2016-09-02 00:30:37 +02:00
Christophe Riccio
1c5fd06c2d
Fixed cast and clean up
2016-09-01 22:46:21 +02:00