2180 Commits

Author SHA1 Message Date
Christophe Riccio
1d266efe20 - Improved constexpr for constant functions coverage #198 2015-08-31 22:14:45 +02:00
Christophe Riccio
f92c1219ed Fixed non-identity quaternions for equal vectors #234 2015-08-31 21:56:34 +02:00
Christophe Riccio
f28708265d Merge branch 'master' of https://github.com/g-truc/glm 2015-08-31 18:57:07 +02:00
Christophe Riccio
c10df14b58 Fixed strict alignment warnings #235 #370 2015-08-31 18:55:45 +02:00
Christophe R.
7a8b532519 Merge pull request #393 from morganbengtsson/master
Update matrix_decompose.hpp #393
2015-08-31 18:18:23 +02:00
Christophe Riccio
2f4338269d Fixed reliability issue of GLM_HAS caps #377 2015-08-31 18:14:54 +02:00
Christophe Riccio
6aabe5a07d Fixed warnings 2015-08-31 18:13:46 +02:00
Christophe Riccio
debed28149 Fixed link errors on compilers not supported default function #377 2015-08-31 18:01:51 +02:00
Morgan Bengtsson
497da9a7cd Update matrix_decompose.hpp
Changed documentation to show correct include file.
2015-08-28 22:13:05 +02:00
Christophe R
ebdd48fa6f Merge branch 'master' of https://github.com/g-truc/glm 2015-08-23 14:49:37 +02:00
Bryce Mehring
6f128f5983 Fixed C++11 standard library error message
When including glm/gtx/hash.hpp before any other glm header files, the
error "GLM_GTX_hash requires C++11 standard library support" is thrown
because GLM_HAS_CXX11_STL is not yet defined.
2015-08-12 22:44:32 -05:00
Simon Krogmann
0092c91f42 Fix incorrect parenthesis
In VC++ 2013 this error led to a runtime exception when using
circularRand or linearRand while "Smaller Type Check" (/RTCc)
was enabled.
2015-08-09 19:08:41 +02:00
Christophe R
79f6d92c8a Added GLM_SIMD to enable automatic SIMD code generation for generic GLM types #235 #370 2015-08-09 10:50:29 +02:00
Nik Voss
d48a70d0da Fixed typo resulting in warnings when building with -Wpedantic. 2015-08-05 16:32:24 +02:00
Christophe Riccio
cedaed68f6 Updated version for final 0.9.7.0 release 2015-08-02 10:23:58 +02:00
Christophe Riccio
e0c4a71016 Clean up doxygen and source 2015-08-02 01:39:00 +02:00
Christophe Riccio
bc0f5317fd Updated documentation 2015-08-01 22:54:27 +02:00
Christophe Riccio
5437d49cf2 Renamed GTC_color to GTC_color_space 2015-08-01 21:55:28 +02:00
Christophe Riccio
d6ae2fd694 Fixed matrix conversions and added unit tests #371 2015-08-01 21:40:36 +02:00
Christophe Riccio
1e502c0919 Fixed decompose warnings #373 2015-08-01 11:35:57 +02:00
Christophe R.
37d4ca9c4c Merge pull request #368 from JesseTG/jtg/oops-sorry
Fixed some of my own metaprogramming-helper mistakes #368
2015-07-25 23:28:38 +02:00
Christophe Riccio
afa193704c Fixed interactions with GLM_FORCE_NO_CTOR_INIT and default functions #366 2015-07-25 23:23:59 +02:00
Christophe Riccio
53e494bea9 Removed GTX_multiple 2015-07-25 23:23:03 +02:00
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