804 Commits

Author SHA1 Message Date
jan p springer
554999eedc merge upstream/master 2015-10-29 13:44:26 +00:00
Sven-Hendrik Haase
a75e38fb40 Remove old commented code 2015-10-23 15:58:43 +02:00
Sven-Hendrik Haase
96b7850cab Fix unintentional backface culling in triangle intersect
This also fixes #194. The backface culling is unintentional because it is not documented anywhere and we can't give the triangle a normal so just assume the general case.
2015-10-20 04:05:58 +02:00
Sergey Alexandrov
e05935c7bd Add const qualifier in extractEulerAngleXYZ() 2015-10-18 17:41:19 +02:00
Christophe Riccio
32fc69ee11 - Added unary + operator #435 2015-10-17 04:11:52 +02:00
Christophe Riccio
8508e099d0 Fixed compScale test 2015-10-08 23:49:43 +02:00
Christophe R.
143c4c336a Merge pull request #429 from JesseTG/jtg/static-const
Add GLM_STATIC_CONST_MEMBERS #429
2015-10-07 22:28:49 +02:00
Jesse Talavera-Greenberg
e55eb1e08b Removed ambiguity in fmat4x4 constructor 2015-10-07 16:12:45 -04:00
Jesse Talavera-Greenberg
08bf6e78c9 Renamed comp (X|Y|Z|W) template parameters in fvec4SIMD to (X|Y|Z|W)_ 2015-10-07 16:11:23 -04:00
Christophe Riccio
8814ae50c9 Fixed GTX_extended_min_max filename typo #386 2015-10-07 21:49:33 +02:00
Christophe Riccio
d0c57e7afd Revert 2015-10-07 21:06:01 +02:00
Christophe Riccio
79ceca230f Fixed compScale 2015-10-06 01:51:52 +02:00
Jesse Talavera-Greenberg
5eb7ad5d47 Add IDENTITY constants for quat and simdQuat
- Why the hell am I not studying for the test I have tomorrow
2015-10-05 19:32:19 -04:00
Jesse Talavera-Greenberg
57e6ea071d Add simdMat4 static constants
- Tests, too
2015-10-05 19:31:17 -04:00
Jesse Talavera-Greenberg
ef320a2a2f Simplify the static const definitions for vectors and quaternions
- DRY, baby!
2015-10-05 19:30:16 -04:00
Jesse Talavera-Greenberg
d1cdb46cfb Wrap tquat's, simdQuat's and simdVec4's static constants in GLM_STATIC_CONST_MEMBERS
- Also, fixed indentation
2015-10-05 18:27:07 -04:00
Jesse Talavera-Greenberg
a92ed0cdf5 Add static constants to quat, simdVec4, and simdQuat
- No tests, though
2015-10-02 18:36:27 -04:00
Christophe Riccio
daaf86dcef Fixed build 2015-10-01 23:59:20 +02:00
Christophe Riccio
d23d909e6d Added type to identify matrix, vector and quaternion at compile time 2015-10-01 23:09:06 +02:00
Christophe Riccio
bc326abd50 Fixed merge 2015-09-28 19:27:53 +02:00
Christophe Riccio
26f1065429 Added compScale 2015-09-28 19:23:16 +02:00
Christophe Riccio
26590ecb0b Added compScale 2015-09-28 11:30:54 +02:00
Christophe Riccio
12f0ca520d Fixed build 2015-09-25 03:20:54 +02:00
Christophe Riccio
a9ab80d5fd Added compNormalize function to GTX_component_wise 2015-09-25 03:14:11 +02:00
Christophe Riccio
998feff87e Added GTX_float_normalize 2015-09-25 02:39:41 +02:00
Christophe Riccio
e7bae9891a Improved coding style consistency 2015-08-31 22:50:24 +02:00
Christophe Riccio
bf30816e36 - Added to_string for quat and dual_quat in GTX_string_cast #375 2015-08-31 22:34:14 +02:00
Christophe Riccio
f92c1219ed Fixed non-identity quaternions for equal vectors #234 2015-08-31 21:56:34 +02:00
Morgan Bengtsson
497da9a7cd Update matrix_decompose.hpp
Changed documentation to show correct include file.
2015-08-28 22:13:05 +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
Christophe Riccio
e0c4a71016 Clean up doxygen and source 2015-08-02 01:39:00 +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
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
Christophe Riccio
76bd630bbd Fixed isfinite with C++98 compilers #343 2015-07-19 16:32:36 +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