Christophe Riccio
1709e9abca
Added unary + operator #435
2016-01-03 18:37:46 +01:00
Jesse Talavera-Greenberg
7db048b851
Move dependencies from intersect.inl to intersect.hpp
2016-01-03 18:34:51 +01:00
Sven-Hendrik Haase
4ea72b3128
Fix docs
2016-01-03 18:31:37 +01:00
Christophe Riccio
1936921ec7
Fixed log from GTX_lob_base build error with tests #470 , #471
2016-01-03 18:11:55 +01:00
Sven-Hendrik Haase
a827b248ef
Fix wrong docs
...
The function this function is a helper of is using radians. In fact, glm is using radians everywhere!
2016-01-03 18:11:37 +01:00
Christophe Riccio
e9febd9ee7
Fixed log from GTX_lob_base build error with tests #470 , #471
2016-01-01 14:30:14 +01:00
Sven-Hendrik Haase
816b6b8c34
Fix wrong docs
...
The function this function is a helper of is using radians. In fact, glm is using radians everywhere!
2015-12-23 01:24:48 +01:00
jan p springer
71f2b2f422
Merge remote-tracking branch 'upstream/master'
2015-12-02 20:13:33 +00:00
Sven-Hendrik Haase
16aba1a937
Fix docs
2015-11-22 06:48:23 +01:00
Christophe R
3a960f2afb
Merge pull request #436 from taketwo/add-const
...
Add const qualifier in extractEulerAngleXYZ() #436
2015-11-17 11:01:49 +01:00
jan p springer
2547d14240
fixed: ostream operators
2015-10-29 17:56:08 +00:00
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
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
morgan
d69aa08187
Small documentation mistake in intersect.hpp, plane instead of triangle.
2015-05-16 12:29:37 +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
jan p springer
e590111375
added: 'operator<<(std::pair<tmat4x4<T,P>, tmat4x4<T,P>>)' routed to 'operator<<(std::pair<tmat4x4<T,P> const, tmat4x4<T,P> const>)' to avoid specifier removal by 'std::make_pair<>' and follow-up type-deduction problems; see [ http://stackoverflow.com/questions/29985791/ ]
2015-05-01 13:42:56 +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
14c3673b39
Merge pull request #311 from jzrake/master
...
Add functions eulerAngleXYZ and extractEulerAngleXYZ #311
2015-03-15 21:34:52 +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
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
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
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
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
4ad2ad84a8
Merge pull request #301 from regnirpsj/master
...
added: operator<< for tvec1<> #301
2015-02-09 23:05:10 +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
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
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
fc8b4404f0
Fixed faceforward build #289
2014-12-19 23:54:25 +01:00
Christophe Riccio
2117c53dbf
Fixed conflict between GTX_compatibility and GTC_quaternion #286
2014-12-10 09:39:23 +01:00
Christophe Riccio
e4ccd06e29
Second set of fixes for Android #284
2014-12-09 23:54:03 +01:00
Christophe Riccio
732b40c251
Fixed 64 bits integer GTX_string_cast to_string on VC 32 bit compiler
2014-12-05 18:09:48 +01:00
Christophe Riccio
0d73f61828
Deprecate GTX_bit
2014-11-30 16:59:49 +01:00
Christophe Riccio
ff3872c859
Reducing header dependences
2014-11-29 22:57:33 +01:00