Commit Graph

3666 Commits

Author SHA1 Message Date
Philippe Groarke
fd327cd341 cleanup : Remove trailing whitespaces. 2018-03-24 20:01:03 -04:00
Philippe Groarke
a5072f5ce5 gitignore : Ignore .DS_Store. 2018-03-24 19:58:12 -04:00
Vitali Parkhomenko
a74cd55d8d #744 Added tests 2018-03-23 14:27:35 +03:00
Vitali Parkhomenko
15fb58aacb Added extraction of Euler angles from rotation matrix.
Extraction of Euler angles from rotation matrix for 11 sequences of rotation axes:
z-x-z, x-y-x, y-z-y, z-y-z, x-z-x, y-x-y, y-z-x, z-x-y, x-z-y, z-y-x, y-x-z.
2018-03-19 18:48:18 +03:00
Vitali Parkhomenko
5361f5e4ec Added creating a rotation matrix from Euler angles
Creating a rotation matrix for 10 sequences of rotation axes:
z-x-z, x-y-x, y-z-y, z-y-z, x-z-x, y-x-y, y-z-x, z-x-y, x-z-y, z-y-x.
2018-03-19 18:43:01 +03:00
Vitali Parkhomenko
5fe5f32edd Added creating a derived matrix from the rotation matrix.
Creating a derived matrix from the rotation matrix about the x-, y-, and z-axis.
2018-03-19 18:25:45 +03:00
Christophe
37c395ec77
Merge pull request #731 from devmane144/patch-1
Small consistency change #731
2018-03-17 11:02:55 +01:00
Christophe
2fd7333dd3
Merge pull request #725 from elect86/master
Fixed core_func_common.cpp unsigned test #725
2018-03-17 10:59:03 +01:00
Chris Helmich
3aebd8f8fd added GLM_CONSTEXPR_CXX14 flag to vec<>::operator= and mat<>::operator= 2018-02-05 10:43:18 +09:00
Chris Helmich
dee4f81bc7 added GLM_CONSTEXPR_CTOR_CXX14 flags to mat<>::ctors() 2018-02-05 10:39:25 +09:00
devmane144
abb7fecc5e
Update type_vec4.hpp 2018-02-01 15:01:30 -06:00
devmane144
9b621ee4db
Added the other 3 const & to the file
I added the other 3 const & that I missed.
2018-02-01 14:48:35 -06:00
devmane144
f30f012d37
Adding a const & here for consistency reasons
The other vector types have T const & scalar for their binary operator+
2018-02-01 14:41:44 -06:00
Giuseppe Barbieri
b2a1d7a293
Update core_func_common.cpp 2018-01-26 15:08:02 +01:00
Chris Helmich
4a4af0b80e added flags GLM_CONSTEXPR_CXX14 and GLM_CONSTEXPR_CTOR_CXX14 2018-01-22 11:28:55 +09:00
Christophe Riccio
be53cebcd3 Tentative fix of TravisCI 2018-01-09 22:33:39 +01:00
Christophe Riccio
7b5756d673 Tentative fix of TravisCI 2018-01-09 20:19:01 +01:00
Christophe Riccio
44da53f4a1 Tentative fix of TravisCI 2018-01-09 20:15:24 +01:00
Christophe Riccio
5e8ab46d0a Tentative fix of TravisCI 2018-01-09 20:13:07 +01:00
Christophe Riccio
2335be5f84 Tentative fix of TravisCI 2018-01-09 20:04:56 +01:00
Christophe Riccio
4a27705328 Improved travisCI support 2018-01-09 20:01:02 +01:00
Christophe Riccio
d9710786e5 Tentative fix of Travis CI 2018-01-09 19:52:36 +01:00
Christophe
18e413940a
Merge pull request #720 from yuri-kilochek/master
(UPDATE for #717) Remove redundant specializations of `glm::type` for `glm::mat`s and some accompanying cleanup.  #720
2018-01-09 19:34:56 +01:00
Christophe Riccio
d214fbaaf1 Removed Clang 4.0 that is not supported anymore by Travis CI 2018-01-08 22:11:56 +01:00
Yuri Kilochek
0afc784511 Add definitions for glm::type<T> members, so that they can be used outside of constant expressions. 2018-01-07 00:17:18 +03:00
Yuri Kilochek
5441bc7a93 Merge remote-tracking branch 'upstream/master' 2018-01-07 00:02:24 +03:00
Christophe Riccio
c585cb9d6c Added quat left and right handed tests #703 2018-01-06 19:58:39 +01:00
Christophe Riccio
7725407b2d Added missing quat minus operator #703 2018-01-06 19:47:01 +01:00
Christophe Riccio
6390805e6d Fixed zero as null pointer constant 2018-01-05 00:03:29 +01:00
Christophe Riccio
26c395c78b Fixed build 2018-01-04 17:14:27 +01:00
Christophe Riccio
85811f3860 Fixed test 2018-01-04 15:54:49 +01:00
Christophe Riccio
43179a4bc1 Fixed typo 2018-01-04 15:33:17 +01:00
Christophe
e584028e6f
Merge pull request #710 from elect86/patch-3
Update gtx_matrix_interpolation.cpp, typo #710
2018-01-04 14:18:27 +01:00
Christophe
129fab1bd9
Merge pull request #711 from elect86/patch-4
Update intersect.hpp #711
2018-01-04 09:24:32 +01:00
Christophe
fa668e26b6
Merge pull request #708 from corporateshark/master
Fixed #692: sphericalRand() is doing correct distribution on a sphere #708
2018-01-04 09:12:41 +01:00
Yuri Kilochek
1ef3e5a200 components, cols, rows are no longer defined as members of anonymous enums and are now instead static integral constants of type glm::length_t (this appears to be current approach). 2017-12-26 19:42:12 +03:00
Yuri Kilochek
7f162ff4e8 Remove redundant specializations of glm::type<mat</*...*/>> 2017-12-26 19:38:07 +03:00
Giuseppe Barbieri
83697febeb
Update intersect.hpp 2017-12-19 16:18:10 +01:00
Giuseppe Barbieri
5d0fa00c39
Update gtx_matrix_interpolation.cpp 2017-12-19 14:47:02 +01:00
Sergey Kosarevsky
84e6d82051 Fixed #692: sphericalRand() is doing correct distribution on a sphere 2017-12-11 18:15:20 +01:00
Christophe Riccio
1190ae0b0e Added test 2017-11-22 18:36:36 +01:00
Christophe Riccio
529de50383 Fixed acsch #698 2017-11-22 17:36:31 +01:00
Christophe
5bcb204cde
Merge pull request #697 from elect86/patch-2
Update manual.md, glm kotlin port #697
2017-11-20 17:59:24 +01:00
Giuseppe Barbieri
23676a991b
Update manual.md 2017-11-08 11:06:46 +01:00
Christophe
0f956f6dbc
Merge pull request #693 from cleeus/fix-exp2-precision-with-cxx11
Fix exp2 precision with cxx11 #693
2017-11-06 17:35:27 +01:00
Christophe
97c1774429
Merge pull request #695 from csukuangfj/patch-1
fix a typo. #695
2017-11-06 17:35:00 +01:00
KUANG Fangjun
538b6b6d57
fix a typo. 2017-11-06 15:13:04 +01:00
Kai Dietrich
c79dfbc925 Use std::exp2 to implement glm::exp2 when available
Using std::exp and then a multiplication looses a lot of precision which
can cause hard to find bugs (who would expect exp2 to fail?) because all
powers of two with integer exponents can be expressed precisely
with ieee754 floating point.

This also should be good for performance, since exp2 with
integer exponent is just shifting some bits in ieee754 and
good implementers will probably leverage that to implement exp2
efficiently.
2017-10-26 09:43:47 +02:00
Kai Dietrich
708a886bb0 Add a CXX11-conditional test for exp2 precision with larger exponents 2017-10-26 09:41:15 +02:00
Christophe Riccio
9e0c716372 Removed VC 2015 that time out for some reasons... :/ 2017-10-22 17:26:42 +02:00