Christophe Riccio
a56a40e1f2
Added support of defaulted functions to GLM types, to use them in unions #366
2015-07-25 21:31:51 +02:00
Jesse Talavera-Greenberg
f46249620a
Add pure typedefs to the SIMD types
2015-07-25 14:28:24 -04:00
Jesse Talavera-Greenberg
a8659bb767
Remove unused value_size static methods in simdQuat and simdVec4
...
- They didn't even have implementations
2015-07-25 14:26:55 -04:00
Jesse Talavera-Greenberg
c2b4e2a5c0
Change the value_type of simdVec4 and simdQuat to a float
...
- Having it as __m128 didn't quite feel consistent with vec4/quat
2015-07-25 14:25:26 -04:00
Jesse Talavera-Greenberg
4aa385a37a
Change dualquat::components to 2, not 8
2015-07-25 14:21:31 -04:00
Jesse Talavera-Greenberg
3400352e81
Reverse the mat::rows and mat::cols fields
...
- Oops, I mixed up the row_type and col_type typedefs
2015-07-25 14:20:04 -04:00
Jesse Talavera-Greenberg
25bad4c78e
Fix wrong name for mat2::columns
...
- It should really be mat2::cols
2015-07-25 14:17:59 -04:00
Christophe R.
185ba74f6a
Merge pull request #367 from plasmacel/master
...
std::hash specialization for glm::tdualquat #367
2015-07-25 01:39:49 +02:00
Christophe Riccio
f7751bfb06
Added support of defaulted functions to *vec* types #366
2015-07-25 01:24:03 +02:00
Thom de Villa
3b9e90c7b6
std::hash specialization for glm::tdualquat
2015-07-24 17:58:15 +02:00
Christophe Riccio
063c5c7367
Fixed quaternion pow #346
2015-07-24 02:11:55 +02:00
Christophe Riccio
f602c8e7ad
Updated _MAYBE to follow GLM conventions
2015-07-24 02:02:24 +02:00
Christophe R.
1b9872138d
Merge pull request #358 from JesseTG/jtg/preprocessor-cleanup
...
Simplify some preprocessor declarations #358
2015-07-24 01:52:26 +02:00
Dustin Biser
386357f612
Update norm.hpp
...
Fixed documentation typo for distance2 functions
"Returns the squared distance between p0 and p1, i.e., length(p0 - p1)"
changed to
"Returns the squared distance between p0 and p1, i.e., length2(p0 - p1)"
2015-07-22 11:31:45 -04:00
Jesse Talavera-Greenberg
9cc7dc1763
Simplify GLM_FORCE_EXPLICIT_CTOR declarations
...
- Instead of wrapping the declarations, use a macro for the keyword "explicit"
2015-07-20 20:18:24 -04:00
Jesse Talavera-Greenberg
c2078afc12
Simplify the constexpr declarations of the GLM_META_PROG_HELPERS
...
- No repetition
- Half the size
2015-07-20 20:15:45 -04:00
Jesse Talavera-Greenberg
6d1ddc8980
Define MAYBE macros for explicit and constexpr
...
- So we can wrap less code in macros
2015-07-20 20:11:33 -04:00
Christophe Riccio
ac21d7bdad
Fixed use of libstdc++ with Clang #351
2015-07-19 17:59:21 +02:00
Christophe Riccio
9e2f6dfc7f
Fixed Intel compiler build error on Linux #354
2015-07-19 17:38:41 +02:00
Christophe Riccio
76bd630bbd
Fixed isfinite with C++98 compilers #343
2015-07-19 16:32:36 +02:00
Christophe Riccio
056d6bd95e
fixed typo #344
2015-07-19 15:55:44 +02:00
Christophe Riccio
dcfddb75b8
Updated list of compiler versions
2015-07-19 02:36:53 +02:00
Christophe Riccio
9539174494
Fixed build
2015-07-19 02:07:55 +02:00
Christophe Riccio
02d7be8531
Improved packing code to give vectorization a chance
2015-07-19 01:20:20 +02:00
Christophe Riccio
6887df4d39
Merge branch 'fix-type-punning' of https://github.com/cneumann/glm into union
2015-07-19 01:08:04 +02:00
Christophe Riccio
c90f7b0973
Fixed build
2015-07-19 01:04:07 +02:00
Christophe Riccio
38c9cd6cba
Added GLM_META_PROG_HELPERS #350
2015-07-19 00:25:33 +02:00
Jesse Talavera-Greenberg
38f63d3943
Add static rows, cols, prec, and components fields to all matrix types
2015-07-03 15:21:11 -04:00
Jesse Talavera-Greenberg
5d05c8c1f7
Correct component amounts for simqQuat and simdVec4
2015-07-03 15:00:37 -04:00
Jesse Talavera-Greenberg
a9c26d065b
Add static components and prec members to all vector and quaternion types
2015-07-03 14:57:46 -04:00
Christophe Riccio
98a736bcf1
Merge pull request #341 from morganbengtsson/master
...
Fixed Small documentation mistake in intersect.hpp, plane instead of triangle. #341
2015-06-28 14:25:07 +02:00
Christophe Riccio
0141954756
Added mirror repeat
2015-06-27 20:12:27 +02:00
Christophe Riccio
ff1f50bb15
Added GTX_wrap
2015-06-27 19:36:03 +02:00
Christophe Riccio
08eedc6209
Added experiment for new fastCos. More sRGB tests.
2015-06-27 18:36:17 +02:00
Carsten Neumann
2ee6151a40
Use unions for type punning
...
Fixes #334
2015-05-18 12:20:55 -05:00
morgan
d69aa08187
Small documentation mistake in intersect.hpp, plane instead of triangle.
2015-05-16 12:29:37 +02:00
Christophe Riccio
ea36f44294
Fixed perspective fovy argument documentation #327
2015-05-01 23:46:09 +02:00
Christophe Riccio
303a523325
Fixed C++98 build
2015-05-01 20:49:58 +02:00
Christophe Riccio
df8cd22706
Fixed specifier removal by 'std::make_pair<>' #333
2015-05-01 20:01:07 +02:00
Christophe Riccio
7f291cdbeb
Renamed readme.md
2015-05-01 15:05:16 +02:00
Christophe Riccio
e1c3c531dd
Fixed warnings
2015-03-16 23:29:13 +01:00
Christophe Riccio
f51bcc70cc
Added <glm/gtx/hash.hpp> to perform to perform std::hash on GLM types #320
2015-03-15 23:52:22 +01:00
Christophe Riccio
61e9b88db0
Merge pull request #320 from plasmacel/master
...
Add std::hash support for glm types (with precision support) #320
2015-03-15 22:49:29 +01:00
Christophe Riccio
a8203ac034
Fixed multi-line comment warning in g++. #315
2015-03-15 21:45:57 +01:00
Christophe Riccio
ee222f4bfc
Merge pull request #315 from BryceMehring/master
...
Fixed multi-line comment warning in g++. #315
2015-03-15 21:40:17 +01:00
Christophe Riccio
14c3673b39
Merge pull request #311 from jzrake/master
...
Add functions eulerAngleXYZ and extractEulerAngleXYZ #311
2015-03-15 21:34:52 +01:00
Christophe Riccio
05eac3c8b2
Merge pull request #306 from jcajka/master
...
Fixed (u)int64 MSB/LSB handling on BE archs #306
2015-03-15 21:27:35 +01:00
Thom de Villa
b1c45d3ce3
add precision support to std::hash glm specializations
2015-03-07 14:25:59 +01:00
Thom de Villa
36e2bdd294
comment fix
2015-03-07 14:04:56 +01:00
Thom de Villa
44c3453c84
std::hash support for glm types
...
std::hash template specializations implemented for vec, quat and mat
types
2015-03-07 14:01:55 +01:00
BryceMehring
47116d8c28
Fixed multi-line comment warning in g++.
2015-02-22 14:32:55 -06:00
Aaron Cooper
982e395331
Accidentally changed spaces to tabs. Reverting that change.
2015-02-21 14:43:07 -05:00
Aaron Cooper
490cfbea3a
Added left handed functions for perspective, perspectiveFov, and lookAt.
2015-02-21 14:39:45 -05:00
Christophe Riccio
dc86af5d29
Merge 0.9.6
2015-02-19 12:04:37 +01:00
Christophe Riccio
7e6b502639
Fixed default precision for quat and dual_quat type #312
2015-02-19 11:57:35 +01:00
plasmacel
b94aa556c5
add default precision to quat type
2015-02-19 11:51:41 +01:00
plasmacel
62658e8dce
add default precision to quat type
2015-02-17 07:05:37 +01:00
Jonathan Zrake
d3313421c6
Add functions eulerAngleXYZ and extractEulerAngleXYZ
2015-02-15 14:39:02 -05:00
Christophe Riccio
6af33a31fd
Merged 0.9.6 branch
2015-02-15 16:35:46 +01:00
Christophe Riccio
7b9c7008eb
Updated version
2015-02-15 16:30:39 +01:00
Christophe Riccio
567157fc8c
Updated version
2015-02-15 16:23:13 +01:00
Christophe Riccio
9a8cffd83a
Fixed Android doesn't have C++ 11 STL #284
2015-02-15 15:33:14 +01:00
Christophe Riccio
042270d049
Added 'fmod' overload to GTX_common with tests, Removed integer specification for 'mod' in GTC_integer #308
2015-02-15 12:38:23 +01:00
Christophe Riccio
7844332816
Fixed memory corruption (undefined behaviour) #303
2015-02-14 13:56:48 +01:00
Christophe Riccio
f1d4c39622
Fixed memory corruption (undefined behaviour) #303
2015-02-14 01:11:10 +01:00
Christophe Riccio
594380dcb6
Merge 0.9.6
2015-02-14 00:52:30 +01:00
Christophe Riccio
49cf8d8964
Disable GLM_HAS_TRIVIAL_QUERIES
2015-02-14 00:51:10 +01:00
Christophe Riccio
7751bd4af4
Fixed MinGW32 build
2015-02-14 00:19:47 +01:00
Christophe Riccio
d33974afa6
Fixed warning
2015-02-13 23:24:12 +01:00
Pavel Krajcevski
2ba1ae95c2
Remove testing #ifdefs
2015-02-13 00:30:25 -08:00
Pavel Krajcevski
a53696a2dc
Specialize template for integer YCoCgR conversion to use bitshifts
2015-02-13 00:22:03 -08:00
Christophe Riccio
387df50459
Updated GTC_color
2015-02-12 21:21:50 +01:00
Christophe Riccio
3ea110b44d
Added GTC_color documentation
2015-02-11 00:14:17 +01:00
Christophe Riccio
40d0bc2e85
Added GTC_color, rgbToSrgb and srgbToRgb with tests
2015-02-10 23:49:49 +01:00
Christophe Riccio
2fc4532931
Fixed functions not inlined with Clang #302
2015-02-10 00:59:57 +01:00
Christophe Riccio
4ad2ad84a8
Merge pull request #301 from regnirpsj/master
...
added: operator<< for tvec1<> #301
2015-02-09 23:05:10 +01:00
Christophe Riccio
93d07fdc39
Merge 0.9.6 branch
2015-02-09 22:30:29 +01:00
Christophe Riccio
19066e9940
Added partial constexpr support detection
2015-02-09 22:02:03 +01:00
Aubrey R. Jones
5d421b27b2
Changed usage of __has_include to support Intel compiler.
...
Intel compiler supports __has_include, but does not support angle brackets in the argument. Clang and Intel both accept quotes with seemingly identical semantics to one another, and to angle brackets. Only difference appears to be that `icpc` no longer crashes trying to compile code using glm.
2015-02-05 11:08:43 -07:00
Jakub Čajka
8977e6d010
Fixed (u)int64 MSB/LSB handling on BE archs
2015-01-28 09:57:55 +01:00
Christophe Riccio
387f931feb
Fixed Visual C++ 2015 constexpr errors: Disabled only partial support
2015-01-25 21:06:07 +01:00
jan p springer
d30aba45e0
added: operator<< for tvec1<>
2015-01-14 22:10:55 +00:00
Christophe Riccio
4eec569f92
Disabled GTX_scalar_multiplication for GCC, failing to build tests #242
2015-01-10 13:45:41 +01:00
Christophe Riccio
fe0de059b8
Cleaned up C++11 feature detections
2015-01-10 13:44:57 +01:00
Christophe Riccio
0ceb9e9394
packing function clean up #292
2015-01-09 23:57:22 +01:00
Christophe Riccio
8b09606c7b
Merge 0.9.6 branch
2015-01-09 23:17:32 +01:00
Christophe Riccio
d9290d7887
Fixed GTC_packing *pack*norm*x* build and added tests #292
2015-01-09 23:14:10 +01:00
Christophe Riccio
025a4c79ff
Fixed bug #293
2015-01-09 19:55:11 +01:00
Christophe Riccio
3226580a36
Merge 0.9.6 branch
2015-01-09 19:52:47 +01:00
Christophe Riccio
1e0825028e
Fixed Visual Studio natvis support for vec4 #288 , Added Visual Studio natvis support for vec1, quat and dualqual types
2015-01-09 01:37:16 +01:00
Christophe Riccio
ed3d8e17e4
Fixed warnings in F2x11_1x10 packing function in GTC_packing #295
2015-01-08 23:50:06 +01:00
Christophe Riccio
54dbea6258
Fixed mat4x3 = mat2x3 * mat4x2 operator #297
2015-01-08 23:38:59 +01:00
Christophe Riccio
1dce8bf200
Removed assert for perspective with zFar < zNear #298
2015-01-08 22:53:21 +01:00
Christophe Riccio
07913880c4
- Fixed conflict with Xlib #define True 1 #293
2014-12-30 14:48:25 +01:00
Jonathon Racz
dd948d3cc2
Fixed inconsistency in templated value
2014-12-29 22:57:51 -05:00
Jonathon Racz
2d30a6e21a
Fixed VS2010 templating issues with decompose function caused by ambiguous type conversions and constants.
2014-12-29 17:58:16 -05:00
Christophe Riccio
2336264f4e
Added ARM instruction set detection
2014-12-20 17:16:52 +01:00
Christophe Riccio
2ddfbd23c6
Merge 0.9.6 changes
2014-12-19 23:55:34 +01:00
Christophe Riccio
fc8b4404f0
Fixed faceforward build #289
2014-12-19 23:54:25 +01:00
Christophe Riccio
d5753fe37a
Added display of GLM version with other GLM_MESSAGES
2014-12-19 21:05:05 +01:00