Commit Graph

2965 Commits

Author SHA1 Message Date
Christophe Riccio
1d3f8a057f Fixed GTX_easing build on Clang 2018-05-08 12:26:07 +02:00
Christophe Riccio
1cd7a47279 Fixed GTX_easing build on VS2013 2018-05-08 12:16:58 +02:00
Christophe Riccio
62dfe7adfb Fixed isnan on CUDA #727 2018-05-07 18:21:48 +02:00
Christophe Riccio
b3a24a0565 Fixed linearRand #762 2018-05-07 18:12:18 +02:00
Christophe Riccio
69f94334e0 Added GTX_easing for interpolation functions #761 2018-05-07 15:39:25 +02:00
Christophe Riccio
d53cd73a0e Fixed mising glm::precision 2018-05-07 12:14:32 +02:00
Christophe Riccio
798ab30b9d Fixed Syntax error when compiling with GLM_FORCE_CTOR_INIT and GLM_ENABLE_EXPERIMENTAL #753 2018-05-07 10:37:37 +02:00
Torbjørn Viksand
351155b9e1 Do not define GLM_CONSTEXPR_CXX14 on MSVC < 2017 2018-04-10 11:14:22 +02:00
Christophe Riccio
b8d0681725 Fixed misspelling #738 2018-03-27 19:04:44 +02:00
Christophe Riccio
8390a77b3a Added GLM_FORCE_CTOR_INIT #735 #740 2018-03-27 18:23:37 +02:00
Philippe Groarke
2cac15849b cleanup : Remove trailing whitespaces. 2018-03-25 12:44:55 -04:00
Philippe Groarke
47fa70c34b Merge branch 'master' into cleanup 2018-03-25 12:43:32 -04:00
Christophe
1a3f1f22cd
Merge pull request #712 from KageKirin/constexpr-mat-ctors
set mat<>::ctor() to be constexpr #712
2018-03-25 18:10:37 +02:00
Christophe
fdb0e43aa0
Merge pull request #744 from vitali-parkhomenko/feature/extension_for_euler_angles
Extension for Euler angles #744
2018-03-25 12:05:34 +02:00
Philippe Groarke
fd327cd341 cleanup : Remove trailing whitespaces. 2018-03-24 20:01:03 -04: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
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
Chris Helmich
4a4af0b80e added flags GLM_CONSTEXPR_CXX14 and GLM_CONSTEXPR_CTOR_CXX14 2018-01-22 11:28:55 +09: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
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
43179a4bc1 Fixed typo 2018-01-04 15:33:17 +01:00
Christophe
129fab1bd9
Merge pull request #711 from elect86/patch-4
Update intersect.hpp #711
2018-01-04 09:24:32 +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
Sergey Kosarevsky
84e6d82051 Fixed #692: sphericalRand() is doing correct distribution on a sphere 2017-12-11 18:15:20 +01:00
Christophe Riccio
529de50383 Fixed acsch #698 2017-11-22 17:36:31 +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
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
Christophe Riccio
fcbedf5058 Fixed glm::step that didn't work with scalars #684 2017-10-22 16:58:09 +02:00
Christophe Riccio
5dbb4470e7 Merge branch 'master' of https://github.com/g-truc/glm 2017-10-22 16:40:48 +02:00
Christophe Riccio
ad82970101 Fixed warning #685 2017-10-22 16:32:05 +02:00
Christophe
a4061b1897 Merge pull request #689 from akaltar/master
Fix warning C4309 #679 #689
2017-10-22 16:26:15 +02:00
Christophe
9d7e79de6e Merge pull request #691 from OlivierSohn/master
Fix rotation when vectors are in the same direction #691
2017-10-22 16:24:15 +02:00
Christophe Riccio
25e7bef346 Resolved uninitialized return value warnings #685 2017-10-22 15:31:47 +02:00
Olivier Sohn
ddb93dcdc2 fix build 2017-10-21 21:50:36 +02:00
Olivier Sohn
6bd81b8fbc use quat_identity 2017-10-21 21:43:47 +02:00
Olivier Sohn
6f61bb4d2e Fix rotation when vectors are in the same direction #690 2017-10-21 21:17:55 +02:00
akaltar
04819ecaae Fix #679
Fixes warning C4309 on VS2015
2017-10-20 18:42:46 +02:00
Christophe Riccio
2e43c201cd Fixed warning C4309 #679 2017-09-23 22:58:51 +02:00
Christophe Riccio
dc3e0b5ccb Added GLM_FORCE_SINGLE_ONLY to use GLM on platforms that don't support double #627 2017-09-23 16:32:25 +02:00
Christophe Riccio
aa38362b2c Added spearate functions to use both nagative one and zero near clip plans #680 2017-09-23 15:55:18 +02:00
Christophe Riccio
bfa6c9e192 - Added EXT_vector_relational: openBounded and closeBounded 2017-09-20 17:57:44 +02:00
Christophe Riccio
30ee2cd1bb - Added GTX_texture: levels function 2017-09-20 15:32:29 +02:00
Christophe Riccio
a2497e6174 Fixed glm::to_string on quaternions wrong components order #681 2017-09-20 14:29:22 +02:00
Christophe Riccio
1bf24f8344 Fixed glm::log2<int>() returns wrong value, missing static assert #683 2017-09-20 14:17:42 +02:00
CaptainCarrot
3669256fd1 Update quaternion.inl 2017-09-14 09:05:09 +02:00
CaptainCarrot
1fe48f0d09 Update quaternion.hpp 2017-09-14 09:04:09 +02:00
Tobias Widlund
c07050ef9d Fixed incorrect indentation 2017-08-31 12:42:59 +02:00
Christophe Riccio
ec5b3fd897 Fixed build #675 2017-08-30 10:28:02 +02:00
Christophe Riccio
5cf8765656 Added GTX_texture 2017-08-25 15:55:41 +02:00
Christophe Riccio
5c5cfa5b66 Merge branch 'master' of https://github.com/g-truc/glm 2017-08-25 15:11:40 +02:00
Christophe Riccio
ba4e508e98 Added make_vec* 2017-08-25 15:11:24 +02:00
Linqing Feng
a6e27e8079 fix mismatched template argument (P to Q) 2017-08-25 10:50:05 +09:00
Christophe Riccio
b5eb654ff0 Fixed Visual C++ /W4 warnings 2017-08-22 23:58:31 +02:00
Christophe Riccio
6932058f59 Fixed quaternion constructor from two vectors special cases #469 2017-08-22 22:47:36 +02:00
Aaron
d75ef41bdb Checking if either argument is nan in fmin and fmax 2017-08-21 11:16:46 -07:00
Christophe Riccio
d550798ca0 Added EXT_vec1: *vec1 types 2017-08-21 10:36:27 +02:00
Christophe Riccio
de28722e36 Added EXT_vector_relational: extend equal and notEqual to take an epsilon argument 2017-08-20 21:38:33 +02:00
Christophe Riccio
68a829e7ed Added fmin, fmax and fclamp to GTX_extended_min_max #372 2017-08-20 18:42:48 +02:00
Christophe Riccio
fc53581c68 Fixed Better follow GLSL min and max specification #372 2017-08-20 16:53:50 +02:00
Christophe Riccio
7466c4a9e7 Fixed Visual C++ warnings 2017-08-18 20:08:36 +02:00
Christophe Riccio
e1dc14ddd4 Fixed doxygen warnings 2017-08-18 12:37:44 +02:00
Christophe Riccio
bace93d798 Fixed API documentation reference 2017-08-18 12:27:47 +02:00
Christophe Riccio
72e6b8973f Updated API documentation 2017-08-17 21:00:32 +02:00
Christophe Riccio
e9f210c85f Enable /WX, warning as error on Visual Studio 2017-08-17 19:51:03 +02:00
Christophe Riccio
23db2cd8b9 Show core feature first in the API doc modules 2017-08-17 17:52:22 +02:00
Christophe Riccio
2240849164 Improve API documentation 2017-08-17 17:36:40 +02:00
Christophe Riccio
d93a3be4ac - Improved API documentation #668 2017-08-17 16:24:32 +02:00
Christophe Riccio
fdf92ba340 Avoid duplicated code 2017-08-17 15:20:23 +02:00
Christophe Riccio
4bc87efa09 Fixed build on GCC 7.1 2017-08-17 15:12:31 +02:00
Christophe Riccio
007a97216a Tentative fix for GCC 6 2017-08-17 13:22:50 +02:00
Christophe Riccio
d336d3fb27 Fixed no-documentation warnings 2017-08-17 11:40:30 +02:00
Christophe Riccio
eb8689b8b5 More use of build-in CMake features, upgraded to CMake 3.2 2017-08-17 10:54:16 +02:00
Christophe Riccio
22fe828159 Improved GTC_type_precision and added issues regarding SIMD and constexpr interaction #653 2017-08-16 22:35:29 +02:00
Christophe Riccio
fdfd03ffaf Fixed SIMD build 2017-08-16 03:43:17 +02:00
Christophe Riccio
1bbf2dafb9 Fixed SIMD build 2017-08-16 03:28:11 +02:00
Christophe Riccio
8bcf9b5ae7 Fixed SIMD build 2017-08-16 03:09:04 +02:00
Christophe Riccio
211881abf9 Fixed swizzle operators build using SIMD 2017-08-16 02:42:47 +02:00
Christophe Riccio
4c43e9e679 Fixed GTX_matrix_factorisation build 2017-08-16 02:24:28 +02:00
Christophe Riccio
f327d8e9d4 Fixed swizzle operators build 2017-08-16 02:17:25 +02:00
Christophe Riccio
62d89dcec7 Fixed swizzle operators build 2017-08-16 02:14:40 +02:00
Christophe Riccio
50202f09d9 Fixed swizzle operators build 2017-08-16 02:11:27 +02:00
Christophe Riccio
85acb8323a Fixed swizzle operators build 2017-08-16 02:06:44 +02:00
Christophe Riccio
e33108af5f Fixed shadows template parameter warnings 2017-08-16 01:56:00 +02:00
Christophe Riccio
a8784e7518 Fixed shadows template parameter warnings 2017-08-16 01:52:46 +02:00
Christophe Riccio
8624e38379 Fixed shadows template parameter warnings 2017-08-16 01:48:50 +02:00
Christophe Riccio
3cd2872a00 Fixed build 2017-08-16 01:37:35 +02:00
Christophe Riccio
247facbd49 Fixed shadows template parameter warnings 2017-08-16 01:33:39 +02:00
Christophe Riccio
faf1da52b7 Renamed P (for precision) template argument to Q (for qualifier) 2017-08-16 01:22:50 +02:00
Christophe Riccio
e76fca75a0 More consistent coding style 2017-08-15 22:04:24 +02:00
Christophe Riccio
d1afe662be More consistent coding style 2017-08-15 21:59:47 +02:00
Christophe Riccio
a805fb9d68 Renamed precision enum to qualifier 2017-08-15 21:23:47 +02:00
Christophe Riccio
a7b72ec5b2 Updated API doc 2017-08-15 21:22:51 +02:00
Christophe Riccio
ac3abfdac7 Replaced vecType template argument by vec template 2017-08-15 19:07:25 +02:00
Christophe Riccio
da84db5481 Replaced vecType by vec 2017-08-15 17:32:36 +02:00
Christophe Riccio
c823345baa Fixed build 2017-08-10 23:38:41 +02:00
Christophe Riccio
82cf733092 Fixed -Weverything warning 2017-08-10 22:42:36 +02:00
Christophe Riccio
3a06085edd Fixed -Weverything warnings 2017-08-10 19:57:35 +02:00
Christophe Riccio
5212c26da2 Clean up vecType 2017-08-10 03:28:29 +02:00
Christophe Riccio
ec79dbdbef Disabled warnings 2017-08-10 02:43:41 +02:00
Christophe Riccio
1bfc198625 Fixed warnings 2017-08-08 23:32:52 +02:00
Christophe Riccio
2cc0c53da7 Fixed warnings 2017-08-08 23:19:16 +02:00
Christophe Riccio
b138eed73b Fixed warnings 2017-08-08 22:40:22 +02:00
Christophe Riccio
f5dde80e2e Fixed warnings 2017-08-08 22:31:37 +02:00
Christophe Riccio
6c23545fbc Fixed -Wreserved-id-macro warnings 2017-08-08 11:37:24 +02:00
Christophe Riccio
940af561cc Fixed -Wreserved-id-macro warnings 2017-08-08 11:35:36 +02:00
Christophe Riccio
00e7908294 Fixed warnings 2017-08-07 14:56:45 +02:00
Christophe Riccio
336a949cf8 Removed -Wreserved-id-macro 2017-08-07 14:20:57 +02:00
Christophe Riccio
45a716b893 Fixed epsilonEqual build 2017-08-07 03:18:21 +02:00
Christophe Riccio
1e7d12b91b Fixed GLM_HAS_OPENMP when OpenMP is not enabled 2017-08-07 01:28:42 +02:00
Christophe Riccio
49435a09da Fixed warings generated using -Weverything 2017-08-07 01:00:36 +02:00
Christophe Riccio
d63aa4ea85 Fixed build 2017-08-06 23:43:53 +02:00
Christophe Riccio
384dab02e4 Reduce the number of warnings with -Weverything #646 2017-08-06 23:00:05 +02:00
Christophe Riccio
22c88fd821 Fixed build errors with GCC and Clang #664 and #666 2017-08-06 16:29:55 +02:00
Christophe Riccio
e4ffe16bed Revert "Fixed vec4 SIMD constexpr #653"
This reverts commit 950d226154.
2017-08-06 15:49:50 +02:00
Christophe Riccio
6c70e74f3c Fixed quatLookAt #659 2017-07-26 02:32:40 +02:00
Christophe Riccio
950d226154 Fixed vec4 SIMD constexpr #653 2017-07-26 02:06:33 +02:00
Christophe Riccio
aa026cc0da Removed glm::uninitialize 2017-07-25 22:50:31 +02:00
Christophe Riccio
c933f6e591 Clean up GLM_FORCE_NO_CTOR_INIT and fixed tests 2017-07-25 22:15:55 +02:00
Christophe Riccio
4cf8a10af2 No more default initialization of vector, matrix and quaternion types 2017-07-24 12:46:54 +02:00
Christophe Riccio
c834d06c27 Fixed Visual C++ 2017.2 warning regarding __has_feature definision #655 2017-07-24 12:20:58 +02:00
Christophe Riccio
3c7bd2eb53 Fixed quat normalize build error #656 2017-07-24 12:09:20 +02:00
Christophe
a61483b34a Merge pull request #659 from CaptainCarrot/QuatLookAt
Added a quaternion-based "Look At" function #659
2017-07-24 12:05:18 +02:00
Christophe Riccio
1b78e2b681 length() member functions are constexpr #657 2017-07-24 12:01:44 +02:00
Christophe Riccio
50a527c97d - Fixed integer pow from GTX_integer with null exponent #658 2017-07-24 11:39:16 +02:00
CaptainCarrot
c184671583 Update quaternion.hpp 2017-07-23 09:27:25 +02:00
CaptainCarrot
580f368365 Update quaternion.hpp 2017-07-22 17:16:49 +02:00
CaptainCarrot
3ee83a15ef Add files via upload 2017-07-22 17:09:21 +02:00
Christophe Riccio
1ad55c5016 Reduced warnings when using very strict compilation flags #646 2017-07-07 11:26:12 +04:30
Christophe Riccio
27f8e5b0a1 Slight optimization by avoiding an unnecessary initialization #654 2017-07-07 11:20:40 +04:30
Christophe Riccio
566d20e8cf Fixed GTX_matrix_factorisation tests to return the number of errors #654 2017-07-07 09:58:34 +04:30
Christophe Riccio
64cfbc0451 Updated GTX_matrix_factorisation to be more consistency with the rest of the codebase #654 2017-07-07 09:34:34 +04:30
Vincent Aymong
da47fac384 Make C++98 compliant, part 2 2017-07-06 17:54:13 -04:00
Vincent Aymong
f9962054d9 Make C++98 compliant 2017-07-06 17:45:40 -04:00
Vincent Aymong
edde2bcf60 Fix a comment 2017-07-06 15:04:00 -04:00
Vincent Aymong
80bd3f16c1 More comments
Fix RQ test
Slight optimisation in QR
2017-07-06 15:01:19 -04:00
Vincent Aymong
d6abdb7935 Implements QR and RQ matrix decomposition functions. 2017-07-05 18:52:46 -04:00
Christophe
2dc6196467 Merge pull request #649 from Sillamacka/FixSimdSignConversionWarnings
Fix -Wsign-conversion warnings in `simd/common.h`. #649
2017-07-04 17:56:14 +02:00
Magnus Bergsten
f9531c1524 Fix -Wsign-conversion warnings in simd/common.h. 2017-07-01 03:13:25 +09:00
Magnus Bergsten
0ca6a44454 Fixed stray ')' that was breaking gtx/matrix_interpolation. 2017-07-01 02:51:31 +09:00
Christophe Riccio
26b3e3ed78 Fixed axisAngle NaN #638 2017-06-24 12:43:00 +02:00
Christophe Riccio
412b562200 Added packing functions for integer vectors #639 2017-06-24 12:12:00 +02:00
Christophe
23a7c7897b Merge pull request #640 from miselin/fix-inversesqrt-precision
Use correct precision for detail::compute_inversesqrt in glm::fastInverseSqrt #640
2017-06-23 19:50:41 +02:00
Christophe Riccio
4e6574749d Fixed references to GLM_FORCE_RADIANS which was removed #642 2017-06-23 19:39:11 +02:00
Matthew Iselin
bff8379a29 Use correct precision in fastInverseSqrt to ensure the fast compute_inversesqrt is used. 2017-06-20 09:35:41 -07:00
Christophe Riccio
0c3134a52d Fixed usused variable warning in GTX_spline #618 2017-06-04 11:42:05 +02:00
Christophe Riccio
a9a832e187 - Added error for including of different versions of GLM #619 - Added GLM_FORCE_IGNORE_VERSION to ignore error caused by including different version of GLM #619 2017-06-04 11:36:13 +02:00
Christophe Riccio
2834d7376a Fixed dual quaternion != operator #629 2017-06-04 10:09:18 +02:00
Christophe Riccio
40398d67cd Added vec2 cross #621 2017-04-08 19:37:20 +02:00
Christophe Riccio
ff64d51a1c Merge 0.9.8 branch 2017-03-27 00:03:37 +02:00
Giuseppe Barbieri
6d72ce042f Update func_common.hpp 2017-03-14 09:53:59 +01:00
Christophe Riccio
bb4f6dc9d4 Removed support of boost static_assrt 2017-03-10 21:40:48 +01:00
Magnus Bergsten
0ffaea051e Fix some more shadowing warnings that had slipped through. 2017-03-03 01:25:26 +09:00
Christophe Riccio
149a6c4258 Merge branch 'master' of https://github.com/g-truc/glm 2017-02-28 22:22:46 +01:00
Christophe Riccio
d53e36782b - Fixed packF3x9_E1x5 exponent packing #614 2017-02-28 22:19:26 +01:00
BlahGeek
0b48eecae8 properly set cuda compiler version 2017-02-28 10:30:50 +08:00
Christophe Riccio
f048b346fb Merged GLM 0.9.8 2017-02-16 01:15:46 +01:00
Christophe Riccio
8d3bc422e1 Fixed Clang version detection from source #608 2017-02-16 01:07:16 +01:00
Christophe Riccio
4a71e6a02f Merge branch 'master' of https://github.com/g-truc/glm 2017-02-16 00:56:04 +01:00
Giuseppe Barbieri
af4499f3ca Update rotate_vector.hpp 2017-02-09 17:53:35 +01:00
Giuseppe Barbieri
38b2fef162 Update rotate_vector.hpp 2017-02-09 17:52:19 +01:00
Christophe Riccio
e4f768102b Fixed define 2017-02-09 00:40:37 +01:00
Christophe
7ee363c9fa Merge pull request #606 from nourikhalass/master
Fix build with GCC #606
2017-01-21 22:00:35 +01:00
Christophe Riccio
cfbb4d9b91 Merged 0.9.8 2017-01-21 21:58:58 +01:00
Christophe Riccio
5dcc56489e Fixed GLM_FORCE_CXX11 with Clang and libstlc++ which wasn't using C++11 STL features. #604 2017-01-21 21:57:10 +01:00
Nouri Khalass
21b9096428 Fixed typo 2017-01-21 20:46:11 +01:00
Nouri Khalass
a3a8f84f6b Fix issue #600 and #605
This issue was caused by an incorrect number of template arguments.
2017-01-21 19:47:41 +01:00
Christophe Riccio
4875f79eb0 Removed old compiler version 2017-01-20 22:42:53 +01:00
Christophe Riccio
9f1aae08f7 Merge branch 'master' of https://github.com/g-truc/glm 2017-01-13 01:17:01 +01:00
Christophe Riccio
f4130c32fd Added template alias for mat types 2017-01-10 00:02:16 +01:00
Christophe
c8ddeea744 Merge pull request #599 from Matiis/master
Quaternion pitch/eulerAngles singularity handling #599
2017-01-07 14:33:14 +01:00
Christophe Riccio
f5ab820ffe Fixed build 2017-01-07 12:49:45 +01:00
Christophe Riccio
41cf89516e Bring back compatibility with GLM 0.9.8 for project using tvec* with C++11 compiler that support template alias 2017-01-07 12:36:25 +01:00
Christophe Riccio
39f775fa6c Merged 0.9.8 branch 2017-01-07 12:15:08 +01:00
Matiis
c9d38fabe6 Quaternion pitch/eulerAngles singularity handling
Handling of singularity when using pitch or eulerAngles on quaternions like (0.5,0.5,-0.5,0.5)
2017-01-06 23:07:03 +01:00
Christophe Riccio
4e267b1b4f Fixed Visual C++ internal error when declaring a global vec type with siwzzle expression enabled #594 2017-01-04 23:56:47 +01:00
Christophe Riccio
bf97e168d5 Fixed build 2017-01-04 22:12:57 +01:00
Christophe Riccio
eda6c93276 More consistent resolution of shadow warnings #595 2017-01-04 21:27:43 +01:00
Martin Gerhardy
9e45b45062 Fixed more shadow warnings in vec4 simd version 2017-01-03 20:30:31 +01:00
Martin Gerhardy
d63d803e8f Fixed shadow warnings for quaternions 2017-01-03 20:22:54 +01:00
Martin Gerhardy
bc60ce8cc4 Fixed shadow warnings for gcc (vec3 and vec4) 2017-01-03 20:19:52 +01:00
Christophe Riccio
b7dac69b6c Fixed build 2017-01-03 02:29:03 +01:00
Christophe Riccio
1318f942cf Fixed build 2017-01-02 21:24:13 +01:00
Christophe Riccio
7839b862e8 Fixed build 2017-01-01 01:28:15 +01:00
Christophe Riccio
2908ddfbaa Fixed build 2017-01-01 01:13:53 +01:00
Christophe Riccio
1671918bdb Build clang build 2016-12-30 20:45:15 +01:00
Christophe Riccio
a8785bdb7a Fixed build 2016-12-30 20:42:18 +01:00
Christophe Riccio
c2fe3fccf6 Use length_t instead of int for vec and mat lengths #584 2016-12-30 20:05:04 +01:00
Christophe Riccio
b92fdf5a59 matrix type Parameterize on dimensions #584 2016-12-30 16:00:25 +01:00
Christophe Riccio
1477d323d9 Fixed build 2016-12-30 10:26:12 +01:00
Christophe Riccio
f00d666e22 Fixed Visual C++ build #584 2016-12-30 01:35:01 +01:00
Christophe Riccio
9a8724925a Uses L for length template argument #584 2016-12-30 01:31:34 +01:00
Christophe Riccio
99c19e9fc2 Clean up 2016-12-30 01:25:09 +01:00
Christophe Riccio
947b07cbc4 remove template alias for more compiler support and simplified swizzle expression implementation #584 2016-12-30 01:23:29 +01:00
Christophe Riccio
4dd748f380 Renamed tvec into vec 2016-12-30 00:03:34 +01:00
John McFarlane
d7fd5a61da fixes VS2013 compiler errors 2016-12-29 07:25:18 -08:00
John McFarlane
26672ab0de fixes VS2015 compiler errors 2016-12-29 06:57:20 -08:00
John McFarlane
506a487d24 parameterize number of dimensions of vector in tvec<D, T, P>
- specializes for 1, 2, 3 and 4-dimensional vector types
  which are then aliased as tvec1, tvec2, tvec3 and tvec4
- requires C++11 aliases; breaks compatability with C++03
- tested on:
  - clang-3.5.2, clang-3.8.0
  - gcc 4.8.5, gcc 5.4.1, gcc 6.2.0

TODO:
- still uses template template parameters - most can probably be removed
- some definitions might now be de-duplicated
2016-12-28 17:07:12 -08:00
Christophe Riccio
06f084063f Clean up GLM_STATIC_CONST_MEMBERS #591 2016-12-17 19:47:11 +01:00
Giuseppe Barbieri
6f61dd9021 Update matrix_transform.hpp
Typo
2016-12-14 16:20:14 +01:00
Christophe Riccio
85bd36806c Merge branch 'master' of https://github.com/g-truc/glm 2016-12-02 01:14:52 +01:00
Christophe Riccio
dd48b56e44 Updated list of supported compilers 2016-12-02 01:14:36 +01:00
Christophe Riccio
2dda5af72c Fixed GCC 4.5 and older build #566 2016-12-01 23:05:43 +01:00
Stefan Winkler
f02ce4d6d3 Fix typo in experimental extension warnings 2016-11-30 20:26:35 +01:00
pbruvoll
d48ce7da53 Update sign of all components of scale.
Update all components of scale when determinant is negateve,, not just x component
2016-11-25 21:17:41 +01:00
pbruvoll
b2afe32676 Update sign of all components of scale.
Update all components of scale when determinant is negateve,, not just x component
2016-11-25 16:00:05 +01:00
Christophe Riccio
58c5e0ef4d Fixed intersectRayTriangle #6 2016-11-25 00:33:45 +01:00
Martin Gerhardy
dadd57bf26 Removed BOM 2016-11-24 21:36:48 +01:00
Martin Gerhardy
3f906960db Fixed compiler warnings for g++ 6.2 2016-11-24 19:29:53 +01:00
Martin Gerhardy
12d42a2dac Fixed compiler warnings for g++ 6.2 2016-11-24 13:56:30 +01:00
Christophe Riccio
029f1c4738 Merge branch '0.9.8' 2016-11-24 01:27:48 +01:00
Christophe Riccio
ef4425a61d Fixed intersectRayPlane returns true in parallel case #578 2016-11-24 01:27:17 +01:00
Christophe Riccio
b5766d1514 Tentative fix for #512 2016-11-24 01:18:51 +01:00
Christophe Riccio
234d442e0a Tentative fix for #512 2016-11-23 23:13:54 +01:00
Christophe Riccio
1a95482b50 Optimized taylorCos 2016-11-21 00:06:05 +01:00
Christophe Riccio
3945098589 Optimised GTX_color_space_YCoCg YCoCgR conversions 2016-11-20 23:44:08 +01:00
Christophe Riccio
b09f395cd2 Optimized GTX_matrix_interpolation axisAngle function 2016-11-20 23:39:22 +01:00
Christophe Riccio
29535189f1 Optimized taylorCos 2016-11-20 23:33:08 +01:00
Christophe Riccio
969394a5eb Optimized noise functions 2016-11-20 23:27:08 +01:00
Christophe Riccio
8873915118 Fixed glm::decompose #448 2016-11-20 22:24:32 +01:00
Christophe Riccio
d4019aab40 Moved color_encoding to experimental 2016-11-20 21:50:12 +01:00
Christophe Riccio
32cfecba97 Optimized GTC_packing implementation 2016-11-20 19:54:03 +01:00
Christophe Riccio
d8ca117cb6 Updated doxygen API doc 2016-11-13 00:39:32 +01:00
Christophe Riccio
6482dd29d2 Added GLM_ENABLE_EXPERIMENTAL 2016-11-12 14:19:22 +01:00
Christophe Riccio
79f6d7082c Bump revision number for next 0.9.8 release 2016-11-12 12:11:43 +01:00
Christophe Riccio
6a1e2ec5d5 Updated version 2016-11-12 12:07:21 +01:00
Christophe Riccio
66bbb69a75 Removed doxygen references to GTC_half_float which was removed in 0.9.4 2016-11-09 22:24:44 +01:00
Christophe Riccio
970dff0f2b Merge GLM 0.9.8 2016-11-09 21:41:50 +01:00
Christophe Riccio
6b0c3b48cc Fixed bitCount with AVX on 32 bit builds #567 2016-11-09 21:39:09 +01:00
Christophe Riccio
c87e9bed0d Updated revision number 2016-11-09 21:21:09 +01:00
Patrik Huber
80390afd82 Changed T() to static_cast<T> 2016-11-09 21:16:03 +01:00
Patrik Huber
282473be24 Fixed missing conversion to T 2016-11-09 21:15:56 +01:00
Patrik Huber
e1e1dd1ebc Changed T() to static_cast<T> 2016-11-08 11:27:32 +00:00
Patrik Huber
d33cbe42a6 Fixed missing conversion to T 2016-11-07 21:41:43 +00:00
Christophe Riccio
1a460419f9 Fixed GTX_vec_swizzle build 2016-11-02 20:44:25 +01:00
Christophe Riccio
08a2985d65 Merge branch '0.9.8' 2016-11-01 23:57:36 +01:00
Christophe Riccio
03672e9428 Fixed GTX_transform2 shear* functions #403 2016-11-01 23:44:03 +01:00
Christophe Riccio
31f37aa89c Merge branch '0.9.8' 2016-11-01 23:35:04 +01:00
Christophe Riccio
33ea25c052 Broader support of GLM_FORCE_UNRESTRICTED_GENTYPE #378 2016-11-01 23:34:37 +01:00
Christophe Riccio
9d96f10491 Merge GLM 0.9.8 branch 2016-11-01 23:11:03 +01:00
Christophe Riccio
b45d5e8650 Fixed Android build error with C++11 compiler but C++98 STL #284 #564 2016-11-01 23:10:06 +01:00
Christophe Riccio
a17f795aaf Added GTX_vec_swizzle, faster compile time swizzling then swizzle operator #558 2016-11-01 22:36:49 +01:00
Christophe
7157969a05 Merge pull request #558 from amc522/swizzle_alternate
Alternate functions for creating swizzles of vectors #558
2016-11-01 22:27:47 +01:00
Christophe Riccio
842ae44f6d Updated minimum compiler version required 2016-11-01 09:56:07 +01:00
Christophe Riccio
44a981ea68 Merge 0.9.8 2016-11-01 09:16:29 +01:00
Christophe Riccio
535040b207 Made quat, vec, mat type component length() static #565 2016-11-01 09:07:04 +01:00
Christophe Riccio
2e9f580615 vector/matrix component length() static #565 2016-11-01 08:44:19 +01:00
Christophe Riccio
9298939816 length becomes a static function #565 2016-11-01 08:44:14 +01:00
Christophe Riccio
a2684a8fe5 - Added lowp variant of GTC_colorspace convertLinearToSRGB #419 2016-10-16 20:17:29 +02:00
Christophe Riccio
e4c559b29b Added RGBM encoding in GTC_packing #420 2016-10-16 16:40:49 +02:00
Christophe Riccio
9d4f0ba758 Merge branch '0.9.8' 2016-10-16 14:51:57 +02:00
Christophe Riccio
e98ce44d85 Added warning messages when using GLM_FORCE_CXX** but the compiler is known to not fully support the requested C++ version #555 2016-10-16 14:51:49 +02:00
Christophe Riccio
cc7a6dd963 Merge branch '0.9.8' 2016-10-16 12:10:58 +02:00
Christophe Riccio
e1b88a05e9 Fixed filename #562 2016-10-16 12:10:44 +02:00
Christophe Riccio
09a81dad23 Merge branch '0.9.8' 2016-10-12 21:40:15 +02:00
Christophe Riccio
1c85265f97 Added Visual C++ 15 detection, Added Clang 4.0 detection, Refactored GLM_COMPILER_VC values 2016-10-12 21:40:03 +02:00
Christophe Riccio
5f5e800a24 Fixed clang and GCC build #559 2016-10-12 10:45:43 +02:00
Christophe Riccio
a1c262e283 Merge branch '0.9.8' 2016-10-10 22:09:09 +02:00
Christophe Riccio
19a6d64e8c Fixed Visual C++ constexpr build error #555, #556 2016-10-10 22:03:57 +02:00
amc522
74d3870160 Alternate functions for creating swizzles of vectors 2016-10-09 17:27:59 -07:00
Christophe Riccio
cae9f61e46 Updated GLM 0.9.8 revision 2016-09-25 12:15:46 +02:00
Christophe Riccio
18ea7063c4 Updated version 2016-09-25 10:44:01 +02:00
Christophe Riccio
02b954f9eb Merge branch '0.9.8' 2016-09-24 10:52:36 +02:00
Christophe Riccio
0675da467a Optimized quaternion log function #554 2016-09-24 10:46:46 +02:00
Aaron
f2135a0ca3 Fixed scaling factors for packing and unpacking unorm555 and unorm565 2016-09-18 21:54:12 +02:00
Aaron
84f4c6e0f9 merging master 2016-09-18 12:00:03 -07:00
Christophe Riccio
8c960dc647 Alignof is a C++11 feature 2016-09-18 19:30:30 +02:00
Christophe Riccio
6a30bbbe51 Fixed GCC build broken by #548 PR 2016-09-18 19:29:46 +02:00
Aaron
ca0b7a9929 Merged graft commit 2016-09-18 19:29:10 +02:00
Christophe Riccio
89d77b51c6 Alignof is a C++11 feature 2016-09-14 23:38:43 +02:00
Christophe Riccio
fa51f18b0c Fixed GCC build broken by #548 PR 2016-09-14 22:01:30 +02:00
Christophe Riccio
4175505a83 Merge branch 'master' of https://github.com/amc522/glm into 0.9.8-align 2016-09-14 21:44:46 +02:00
Aaron
e57615b6bb Changed how storage alignment is created to eliminate warnings on msvc. 2016-09-13 00:36:43 -07:00
Christophe Riccio
cb7179239b - Fixed GCC 4.8 with C++11 compilation option #550 2016-09-13 00:21:56 +02:00
Jason P. Barmparesos
f3044dde88 Fixed bug on the faceforward function. 2016-09-13 00:01:09 +02:00
Aaron
460b6ba1b6 Corrected test for msvc compiler 2016-09-12 10:55:01 -07:00
Aaron
47abea7dba Fixed scaling factors for packing and unpacking unorm555 and unorm565 2016-09-11 22:49:15 -07:00
Aaron
ec5e34e04f Fixed some msvc warnings. Tested on msvc 2015 update 3. 2016-09-11 21:55:22 -07:00
Sami Kankaristo
e9e26ab926 Change -pedantic to -Wpedantic 2016-09-11 17:18:35 +02:00
Christophe Riccio
3c4fe6133e Prepare GLM 0.9.8.1 2016-09-11 14:02:08 +02:00
Christophe Riccio
41ff0aff82 Merge branch '0.9.8' 2016-09-11 12:59:43 +02:00
Christophe Riccio
e33e37dc48 Fixed CUDA warning #547 2016-09-11 12:27:24 +02:00
Christophe Riccio
bcc6879b4b Fixed build 2016-09-11 03:24:37 +02:00
Christophe Riccio
3d6791ef00 Merge 2016-09-11 03:13:06 +02:00
Christophe Riccio
24075d56dd Fixed build 2016-09-11 03:11:37 +02:00
Christophe Riccio
d0712875d8 Added missing extensions 2016-09-11 02:51:57 +02:00
Christophe Riccio
3422dad8cc Fixed missing GLM_FUNC_DECL causing Cuda build errors #547 2016-09-11 02:51:49 +02:00
Christophe Riccio
90f0a88589 Added missing extensions 2016-09-11 02:50:47 +02:00
Christophe Riccio
64f276b804 Added missing extensions 2016-09-11 02:50:37 +02:00
Christophe Riccio
8a54ba3462 Added GTC_color_encoding 2016-09-11 02:50:08 +02:00
Christophe Riccio
2fd6a9eeee Fixed missing GLM_FUNC_DECL causing Cuda build errors #547 2016-09-11 02:47:18 +02:00
Christophe Riccio
4be686d1fe Merged 0.9.8 2016-09-11 00:21:34 +02:00
Christophe Riccio
c9831664c9 Updated manual 2016-09-11 00:19:17 +02:00
Sergey Alexandrov
ee789e9092 Add GLF_FUNC_QUALIFIER to functors in "type_vec4.inl" 2016-09-09 22:38:12 +02:00
Sergey Alexandrov
9b34889c0e Add GLF_FUNC_QUALIFIER to functors in "type_vec4.inl" 2016-09-09 13:25:46 +02:00
Christophe Riccio
9cabe3b7bc Merge branch '0.9.8' 2016-09-02 01:56:58 +02:00
Christophe Riccio
ff0054490d Fixed GLM_FORCE_UNRESTRICTED_GENTYPE #543 2016-09-02 01:56:33 +02:00
Christophe Riccio
9160f8b8d2 Removed deprecated defines 2016-09-02 01:53:38 +02:00
Christophe Riccio
d029db8ac0 Merge 0.9.8 2016-09-02 01:46:56 +02:00
Christophe Riccio
e77c300e4c Fixed error to cover deprecated define 2016-09-02 01:41:20 +02:00
Christophe Riccio
8bfefbd1ce Document GLM_FORCE_UNRESTRICTED_GENTYPE and generate an error if both GLM_FORCE_SWIZZLE and GLM_FORCE_UNRESTRICTED_GENTYPE are defined at the same time 2016-09-02 01:38:40 +02:00
Christophe Riccio
a609a0fea6 - Added more information to build messages 2016-09-02 00:30:37 +02:00
Christophe Riccio
10dc67e2b5 - Added GLM_FORCE_UNRESTRICTED_GENTYPE allowing non basic genType #543 2016-09-01 23:32:12 +02:00
Christophe Riccio
1c5fd06c2d Fixed cast and clean up 2016-09-01 22:46:21 +02:00
Patrik Huber
3b4856cf58 Convert integers to type T in quaternion mat3_cast()
This fixes issues when the type T is not explicitly convertible to T, and for example only has an operator* defined that takes two Ts but not a T and an int.

All the other functions in that file already use this syntax, so the missing ones here are most likely an oversight.
2016-08-18 00:54:25 +02:00
Patrik Huber
d08618c073 Convert integers to type T in quaternion mat3_cast()
This fixes issues when the type T is not explicitly convertible to T, and for example only has an operator* defined that takes two Ts but not a T and an int.

All the other functions in that file already use this syntax, so the missing ones here are most likely an oversight.
2016-08-17 23:24:44 +01:00
Christophe Riccio
c947b3338b Merge branch '0.9.8' 2016-08-11 00:42:43 +02:00
Christophe Riccio
ebafd8e82d Fixed aligned type build on Visual C++ 2013 and older compiler #539 2016-08-11 00:41:38 +02:00
Christophe Riccio
239c590ac0 Merge branch '0.9.8' 2016-08-09 20:48:50 +02:00
Christophe Riccio
37ab3dfd29 Fixed Cuda build, using '__align__' for alignments in Cuda #539 2016-08-09 20:48:34 +02:00
Christophe Riccio
7ba6ea9a71 Merge branch '0.9.8' of https://github.com/g-truc/glm into 0.9.8 2016-08-09 20:07:46 +02:00
Christophe Riccio
09bf19db7e Fixed Cuda build, no support of __declspec(align(alignment)) 2016-08-09 20:05:46 +02:00
Christophe Riccio
ec8fa4623c Fixed Cuda build, no support of __declspec(align(alignment)) 2016-08-09 20:05:19 +02:00
Christophe Riccio
39020ad727 Merge branch '0.9.8' 2016-08-08 11:45:38 +02:00
Christophe Riccio
8fbec7f28e Fixed Clang detection #537 2016-08-08 11:45:30 +02:00
Christophe Riccio
fa8b1f419d Merge branch '0.9.8' 2016-08-07 12:57:01 +02:00
Christophe Riccio
4db0dfcb19 Added lowestBitValue to GTX_bit #536 2016-08-07 12:56:49 +02:00
Christophe Riccio
f71171d49b Fixed 32-bits build #528 #529, fixed VC 32 bits crash 2016-08-07 12:43:38 +02:00
Christophe Riccio
0dbdf3fad4 Fixed 32-bits build #528 #529, fixed VC 32 bits crash 2016-08-07 12:42:45 +02:00
Christophe Riccio
e671d50e05 Merge branch '0.9.8' 2016-08-06 19:41:09 +02:00
Christophe Riccio
dcdc966969 Workaround Cuda compiler bug #530 2016-08-06 19:40:39 +02:00
Christophe Riccio
cd50d4ae5c Tentative CUDA workaround #530 2016-08-06 19:35:46 +02:00
Christophe Riccio
55d7fa2775 Merge branch '0.9.8' 2016-08-06 19:28:34 +02:00
Christophe Riccio
edc328c7c9 Fixed GTX_wrap #534, improved GTX_wrap for SIMD friendliness 2016-08-06 19:28:16 +02:00
Sami Kankaristo
f4103fe7f8 Change -pedantic to -Wpedantic 2016-07-20 21:26:45 +03:00
Sami Kankaristo
63dcf6ad77 Fix #ifdef (had old name) 2016-07-17 22:37:10 +02:00
Sami Kankaristo
c784051948 Fix #ifdef (had old name) 2016-07-17 21:01:57 +03:00
Christophe Riccio
ecc91d4361 Merge 0.9.8 branch 2016-07-17 11:52:15 +02:00
Christophe Riccio
867f03c5f2 Fixed disable pedentic warning for anoynymous struct in GLM 2016-07-17 11:30:12 +02:00
Christophe Riccio
1d8dadcd15 Fixed disable pedentic warning for anoynymous struct in GLM 2016-07-17 11:15:53 +02:00
Christophe Riccio
60026b2066 Fixed build and clean up 2016-07-17 11:07:46 +02:00
Christophe Riccio
de77fadde2 Fixed long long warnings 2016-07-17 10:56:27 +02:00
Christophe Riccio
aa7951aaa4 Fixed long long warnings 2016-07-17 10:54:53 +02:00
Christophe Riccio
6fa619ee13 Fixed disabled long long warning on GCC 2016-07-17 03:46:50 +02:00
Christophe Riccio
8c8c8367e3 Improved aligned types support 2016-07-17 03:37:24 +02:00
Christophe Riccio
ad1ae45066 More use of GLM_HAS_ALIGNED_TYPE 2016-07-17 03:18:19 +02:00
Christophe Riccio
b3d57f2cc9 Improved aligned types support 2016-07-17 03:06:58 +02:00
Christophe Riccio
eb20cdc6ae Added precision qualifier tests 2016-07-17 02:17:25 +02:00
Christophe Riccio
48ab7db993 Merge branch '0.9.8' 2016-07-17 01:13:47 +02:00
Christophe Riccio
dc89797275 - Added quaternion version of isnan and isinf #521 2016-07-17 01:02:30 +02:00
Christophe Riccio
630f0840f2 Removed 0.9.8 deprecated extensions 2016-07-16 23:46:41 +02:00
Christophe Riccio
077aaca6f7 Updated version 2016-07-16 23:18:23 +02:00
Christophe Riccio
6a6b54b699 Fixed long long warnings, fixed precision qualifier values on Clang where qualifiers had the same values 2016-07-16 22:34:07 +02:00
Christophe Riccio
c80e142816 No more warnings for use of long long 2016-07-16 22:25:09 +02:00
Christophe Riccio
0671e609bb Merge branch 'master' of https://github.com/g-truc/glm 2016-07-16 20:45:09 +02:00
Christophe Riccio
7268a3d0c3 0.9.7 branch 2016-07-16 20:41:43 +02:00
Christophe Riccio
07baa3b45a Revert, to reduce risks of regressions 2016-07-16 20:03:22 +02:00
Christophe Riccio
2a3d241d78 GLM requires anynimous struct for SIMD optimizations and swizzle support #524 2016-07-16 18:46:15 +02:00
Christophe Riccio
848d68fe96 GLM requires long long support (C++98) and anonymous struct (C++11), disable the warnings within GLM. Strict compilers support check is performed. #524 2016-07-16 18:36:56 +02:00
Christophe Riccio
b157b1f6e3 Fixed build 2016-07-16 16:54:11 +02:00
Christophe Riccio
9e27641d94 Fixed Clang warning 2016-07-16 16:52:58 +02:00
Christophe Riccio
46cd601681 Fixed build error #524 2016-07-16 15:57:49 +02:00
Christophe Riccio
61e8432634 Fixed bad merge 2016-07-16 01:00:24 +02:00
Christophe Riccio
6271aa1530 Merged 0.9.7 branch, Factorized GLM_COMPILER_LLVM and GLM_COMPILER_APPLE_CLANG into GLM_COMPILER_CLANG 2016-07-16 00:54:05 +02:00
Christophe Riccio
2087606611 - Improved C++ 11 STL detection #523 2016-07-16 00:28:32 +02:00
Christophe Riccio
76fce77337 - Updated list of compiler versions detected 2016-07-15 23:49:20 +02:00
Christophe Riccio
09cbd5f7d6 Removed useless const references 2016-07-15 23:11:25 +02:00
Christophe Riccio
6d169bccc2 Fixed scalar reciprocal functions (GTC_reciprocal) #520 2016-07-15 22:40:00 +02:00
Christophe Riccio
166099e82d Added generic quaternion SIMD optimizations 2016-07-14 20:52:29 +02:00
Christophe Riccio
9459aac681 Allows length2 specialization 2016-07-14 16:42:46 +02:00
Christophe Riccio
0698e6537a Merge branch '0.9.7' 2016-07-14 16:41:20 +02:00
Christophe Riccio
33b9dad843 Fixed build 2016-07-14 16:38:59 +02:00
Christophe Riccio
212d343d5f Reduce included code 2016-07-14 16:38:08 +02:00
Christophe Riccio
bfb64e7657 Fixed missing vec1 overload to length2 and distance2 functions #431 2016-07-14 15:48:15 +02:00
Christophe Riccio
6e9b524be1 Fixed matrix functions using SIMD code on unaligned types #518 2016-07-14 15:21:45 +02:00
Christophe Riccio
b8b43e6a4d Added GTC_functions extension 2016-07-14 15:20:44 +02:00
Christophe Riccio
3b1af3fe0b Fixed build using SIMD 2016-07-01 01:01:32 +02:00
Christophe Riccio
0e1e181484 Clean up 2016-06-10 23:14:17 +02:00
Christophe Riccio
9613edbaf5 Updated GTC_type_aligned extension 2016-06-09 23:18:44 +02:00
Christophe Riccio
c256a4ed11 Added unaligned precision qualifiers 2016-06-09 20:12:33 +02:00
Christophe Riccio
7aca47b19e Fixed missing vec1 overload to length2 and distance2 functions #431 2016-06-04 23:48:05 +02:00
Christophe Riccio
39e63661a6 Fixed STL for C++11 detection on ICC #510 2016-06-04 23:11:50 +02:00
Christophe Riccio
8848bc2a08 Fixed STL for C++11 detection on Intel compiler #510 2016-06-04 23:08:08 +02:00
Christophe Riccio
b54a256499 - Fixed strict aliaing warnings #473 2016-06-04 22:57:21 +02:00
Christophe Riccio
731a263325 Fixed bitcount build errors 2016-06-02 02:32:54 +02:00
Christophe Riccio
5fdca07eee Clean up 2016-06-02 01:01:36 +02:00
Christophe Riccio
fd4ada5843 Support aligned *vec* even when SIMD isn't enabled 2016-06-02 00:33:55 +02:00
Christophe Riccio
b357636d0f Fixed GCC build 2016-06-01 20:03:36 +02:00
Christophe Riccio
41984e42ab Added GTC_type_aligned with aligned *vec* types 2016-06-01 00:43:35 +02:00
Christophe Riccio
64342f78bf Updated version and updated readme 2016-05-30 20:28:42 +02:00
Christophe Riccio
89324cef0a Fixed GCC build 2016-05-30 18:34:23 +02:00
Christophe Riccio
688756b3e2 SIMD matrix functions optimizations 2016-05-30 18:01:06 +02:00
Christophe Riccio
84caa1092f Added SIMD integer operations optimizations 2016-05-30 15:38:47 +02:00
Christophe Riccio
1bbc2935a2 Added AVX bitCount optimization 2016-05-30 14:39:43 +02:00
Christophe Riccio
52f8ecd973 Added AVX optimizations and equal tests 2016-05-30 14:23:58 +02:00
Christophe Riccio
9ed2a9601b Adde vec4 swizzle operators SIMD optimizations 2016-05-30 02:00:32 +02:00
Christophe Riccio
b9199a2c1a Refactoring of swizzle operators, preparing for vec4 swizzle SIMD optimizations 2016-05-30 01:39:16 +02:00
Christophe Riccio
89f6da9552 Refactoring of low level SIMD API 2016-05-29 21:30:04 +02:00
Christophe Riccio
0722404fb6 Refactored low level SIMD API, refract SIMD optimization 2016-05-29 20:29:16 +02:00
Christophe Riccio
25b3c9f821 Fixed build 2016-05-29 19:16:42 +02:00
Christophe Riccio
28cb770d14 SIMD common functions optimizations 2016-05-29 19:14:39 +02:00
Christophe Riccio
2386237528 common function SIMD optimization 2016-05-29 17:58:53 +02:00
Christophe Riccio
e71c98c5eb Fixed GCC build 2016-05-29 15:32:23 +02:00
Christophe Riccio
9e9ffe65f1 Fixed build 2016-05-29 15:28:54 +02:00
Christophe Riccio
340083edce Add SIMD optimization for common functions 2016-05-29 15:08:34 +02:00
Christophe Riccio
20cf68679c SIMD sqrt optimizations including lowp 2016-05-29 02:57:53 +02:00
Christophe Riccio
449c7ccedf All the vec4 geometry functions have SIMD optimizations 2016-05-28 23:35:07 +02:00
Christophe Riccio
b5521ca7c2 All the vec4 geometry functions have SIMD optimizations 2016-05-28 23:29:15 +02:00
Christophe Riccio
6ea28c83ff Fixed reflect for scalars... 2016-05-28 22:14:58 +02:00
Christophe Riccio
c8c298fef4 Added rect SIMD optimization 2016-05-28 22:09:30 +02:00
Christophe Riccio
f6810a9c0e Added SIMD optimization for geometric functions 2016-05-28 21:51:38 +02:00
Christophe Riccio
fb66c79ca4 Added SIMD optimization for geometric functions 2016-05-28 20:17:34 +02:00
Christophe Riccio
29fa0f1607 Deprecated GLM_GTX_simd_mat4, GLM_GTX_simd_vec4 and GLM_GTX_simd_quat 2016-05-28 19:34:46 +02:00
Christophe Riccio
7fe2f5fe65 Renamed instruction set flags 2016-05-28 19:26:59 +02:00
Christophe Riccio
d33e3df02a Fixed SIMD code path selection 2016-05-28 18:24:39 +02:00
Christophe Riccio
fdb985a0eb Fixed SIMD code path selection 2016-05-28 18:15:35 +02:00
Christophe Riccio
d0e746e292 Fixed SIMD code path selection 2016-05-28 17:55:24 +02:00
Christophe Riccio
9f00ba86cb Fixed SIMD code path selection 2016-05-28 17:54:37 +02:00
Christophe Riccio
ab159770b3 mad optimizations, fixed build 2016-05-28 17:12:48 +02:00
Christophe Riccio
fdec412ff7 Added FMA SIMD optimization 2016-05-28 12:31:43 +02:00
Christophe Riccio
71e6b537cc Clarify support for SSSE3, SSE4.1 and SSE4.2 2016-05-28 11:52:41 +02:00
Christophe Riccio
0ee3a79bfd Uniformalize low level SIMD API 2016-05-28 11:21:04 +02:00
Christophe Riccio
79894a58cc Added NaN and Inf SIMD optimization 2016-05-28 03:09:22 +02:00
Christophe Riccio
1381a95938 Optimized dot SIMD implementation with SSE3 2016-05-28 02:46:06 +02:00
Christophe Riccio
9c6de96669 Specialized SIMD == and != operators 2016-05-28 02:16:56 +02:00
Christophe Riccio
a9fefc7300 Added vec4 SIMD contructor specialization 2016-05-28 01:33:29 +02:00
Christophe Riccio
c5f48da319 Fixed build with compiler that doesn't support GLM_HAS_UNRESTRICTED_UNIONS 2016-05-28 00:10:18 +02:00
Christophe Riccio
ae6082db5e Added AVX2 bitwise optimization 2016-05-28 00:00:33 +02:00
Christophe Riccio
f577611328 Added bitwise inverse SIMD optimization. Factorized bitwise optimization code 2016-05-27 23:03:38 +02:00
Christophe Riccio
4797ea9540 Added specialized SSE2 and AVX bool mix 2016-05-26 02:47:43 +02:00
Christophe Riccio
72c741d8ea Fixed sign with signed integer function on non-x86 architecture 2016-05-24 13:29:18 +02:00
Christophe Riccio
1208eb63f7 Added NEON, MIPS and PowerPC detection 2016-05-23 23:35:34 +02:00
Christophe Riccio
316460408a Simplify and more consistency for files headers 2016-05-23 22:55:49 +02:00
Christophe Riccio
62d5e0ce45 Fixed build 2016-05-23 21:59:25 +02:00
Christophe Riccio
8b9d205178 Fixed build 2016-05-23 21:57:26 +02:00
Christophe Riccio
3f74efa2e0 Merge simd branch 2016-05-23 21:52:59 +02:00
Christophe Riccio
b87ead8304 Use unary bit operators for binary implementation 2016-05-23 21:47:35 +02:00
Christophe Riccio
3081b44ed2 Use unary bit operators for binary implementation 2016-05-23 21:45:08 +02:00
Christophe Riccio
d871d753dc Use unary bit operators for binary implementation 2016-05-23 21:39:33 +02:00
Christophe Riccio
5e60c54004 Use unary % operator for binary implementation 2016-05-23 21:24:59 +02:00
Christophe Riccio
eab004bfe5 vec4 add, sub, mul and div binary operators use unary operators implementation 2016-05-23 21:20:04 +02:00
Christophe Riccio
276505f409 add, sub, mul and div vec4 for specialization 2016-05-23 21:13:57 +02:00
Christophe Riccio
2a4c7e77d6 Added Visual C++ Clang toolset detection 2016-05-23 19:29:36 +02:00
Christophe Riccio
74367aca3c Added Visual C++ Clang toolset detection 2016-05-23 19:25:07 +02:00
Christophe Riccio
c0fc71803c Integer SSE code generation 2016-05-23 01:54:55 +02:00
Christophe Riccio
ff74b87b48 Generate SSE instructions for sub, mul and div including lowp div 2016-05-23 00:34:59 +02:00
Christophe Riccio
0e780a5efd - Use Cuda built-in function for abs function implementation with Cuda compiler 2016-05-22 18:04:32 +02:00
Christophe Riccio
cc9916b2c6 Fixed build, missing reference to inverse function 2016-05-22 17:28:18 +02:00
Christophe Riccio
6cf7389c8c Removed the glm_dummy CMake target if glm_shared or glm_static are enabled 2016-05-22 17:20:56 +02:00
Christophe Riccio
757fe39587 Removed simd precision qualifier. All precision qualifiers may generate SIMD instructions, precision may affect the generated instructions accordingly 2016-05-22 17:12:32 +02:00
Christophe Riccio
93a2f03649 Merge branch '0.9.7' 2016-05-18 22:53:00 +02:00
Christophe Riccio
dcffcbdc97 Fixed GLM_FORCE_INLINE with binary vec4 operators 2016-05-18 22:52:47 +02:00
Christophe Riccio
792151573c Fixed to_string when used with GLM_FORCE_INLINE #506 2016-05-18 22:46:58 +02:00
Christophe Riccio
fd06877778 Too big bug with GCC 4.6 constexpr, haven't tried 4.7, let's see how 4.8 does 2016-05-05 21:06:27 +02:00
Christophe Riccio
60a5f4aea9 Too big bug with GCC 4.6 constexpr, haven't tried 4.7, let's see how 4.8 does 2016-05-05 20:57:37 +02:00
Christophe Riccio
a6047251be Fixed constexpr with SIMD interaction 2016-05-05 20:43:09 +02:00
Christophe Riccio
92a46735d6 Workaround GCC compiler bug with constexpr support 2016-05-05 20:05:31 +02:00
Christophe Riccio
71401d14aa Workaround GCC compiler bug with constexpr support 2016-05-05 19:58:12 +02:00
Christophe Riccio
152c71abff Workaround GCC compiler bug with constexpr support 2016-05-05 19:47:42 +02:00
Christophe Riccio
e8ff04aaec - Added constexpr for *vec*, *mat*, *quat* and *dual_quat* types #493 2016-05-05 15:38:35 +02:00
Christophe Riccio
2a92b65239 - Added constexpr for *vec*, *mat*, *quat* and *dual_quat* types #493 2016-05-05 15:14:54 +02:00
Christophe Riccio
6d302792ab - Added constexpr for *vec*, *mat*, *quat* and *dual_quat* types #493 2016-05-05 15:06:03 +02:00
Christophe Riccio
7e86e9bc3c - Added constexpr for *vec*, *mat*, *quat* and *dual_quat* types #493 2016-05-05 14:39:50 +02:00
Christophe Riccio
d52766297d - Added constexpr for *vec*, *mat*, *quat* and *dual_quat* types #493 2016-05-05 14:13:21 +02:00
Christophe Riccio
33bc27ddc4 - Added constexpr for *vec*, *mat*, *quat* and *dual_quat* types #493 2016-05-05 14:03:20 +02:00
Christophe Riccio
3df1c8755c - Added constexpr for *vec*, *mat*, *quat* and *dual_quat* types #493 2016-05-05 13:56:40 +02:00
Christophe Riccio
c50f3ed38e - Added constexpr for *vec*, *mat*, *quat* and *dual_quat* types #493 2016-05-05 13:40:11 +02:00
Christophe Riccio
d0c4bbaef7 - Added constexpr for *vec*, *mat*, *quat* and *dual_quat* types #493 2016-05-05 13:27:26 +02:00
Christophe Riccio
9a7b802bdc - Added constexpr for *vec*, *mat*, *quat* and *dual_quat* types #493 2016-05-05 13:05:15 +02:00
Christophe Riccio
7193cd2c3a - Added constexpr for *vec*, *mat*, *quat* and *dual_quat* types #493 2016-05-05 10:38:51 +02:00
Christophe Riccio
93612791cd Removed Apple specific check for LLVM versions 2016-05-04 18:46:59 +02:00
Christophe Riccio
20da5a25db Improved OpenMP support detection for Clang, GCC, ICC and VC 2016-05-04 18:04:44 +02:00
Christophe Riccio
ca3abd6e93 Fixed CUDA support #499, #500, #501 2016-05-04 17:05:02 +02:00
Christophe Riccio
13a997d4e1 Fixed CUDA support #499, #500, #501 2016-05-04 17:03:38 +02:00
Christophe Riccio
affd5f3ba0 Fixed CUDA compiler error in type_vec4.inl #504 2016-05-04 16:35:57 +02:00
Christophe Riccio
1f71f6fb3a Improved SIMD and swizzle operators interactions with GCC and Clang, Added raw SIMD API. 2016-05-03 23:57:41 +02:00
Christophe Riccio
1becd76c5f Fixed build 2016-05-01 12:39:16 +02:00
Christophe Riccio
83999c749a Reorganized SIMD code 2016-05-01 12:29:11 +02:00
Christophe Riccio
96963f88cc Single file for simd specialization 2016-05-01 05:00:13 +02:00
Christophe Riccio
5f05a5e953 Clean up inverse SSE code 2016-05-01 03:42:47 +02:00
Christophe Riccio
a90ef1b45e Fixed warning 2016-05-01 01:31:43 +02:00
Christophe Riccio
b53cc5d098 Fixed build on non-VC compilers 2016-05-01 01:26:42 +02:00
Christophe Riccio
2f9fc55d88 More experiments to improve SIMD support 2016-05-01 01:12:22 +02:00
Christophe Riccio
306b409658 Fixed merge 2016-04-30 16:28:20 +02:00
Christophe Riccio
e9bb34fb78 - Fixed Visual C++ SIMD instruction set automatic detection in 64 bits 2016-04-30 16:27:19 +02:00
Christophe Riccio
8cf76f049b Fixed Visual C++ SIMD instruction set automatic detection in 64 bits 2016-04-30 16:23:55 +02:00
Christophe Riccio
07a5d27047 Merge branch 'type_trait' 2016-04-30 15:00:46 +02:00
Christophe Riccio
939eb940d4 Renamed GLM_RESTRICT, still unused in the code base 2016-04-30 15:00:37 +02:00
Christophe Riccio
a6b3632257 Use GLM coding convensions 2016-04-30 14:59:56 +02:00
Christophe Riccio
e913a9c68b Fixed GCC build 2016-04-30 02:07:16 +02:00
Christophe Riccio
23ab8137f9 Fixed GTX_type_trait linking 2016-04-30 01:59:46 +02:00
Christophe Riccio
01fa13380d Merge branch 'master' of https://github.com/regnirpsj/glm into type_trait 2016-04-29 23:29:09 +02:00
Christophe Riccio
6558df25e8 Merge branch 'jtg/type-traits-size' of https://github.com/JesseTG/glm into type_trait 2016-04-29 23:26:13 +02:00
Christophe Riccio
b3cae39ea6 Merge 0.9.7 2016-04-29 17:37:27 +02:00
Christophe Riccio
68ec048b70 Fixed roundPowerOfTwo and floorPowerOfTwo #503 2016-04-29 17:24:35 +02:00
Christophe Riccio
76d12fb602 Fixed roundPowerOfTwo and floorPowerOfTwo #503 2016-04-29 10:51:21 +02:00
Christophe Riccio
79643cf4fa Merge 0.9.7 branch 2016-04-24 14:58:57 +02:00
Christophe Riccio
9770c9f73d Fixed uaddCarry warning #497 2016-04-24 14:56:44 +02:00
Hauke Rehfeld
c479e444a4 fix: cuda can use anonymous unions 2016-04-15 12:44:36 +02:00
Hauke Rehfeld
30f014472d add: CUDA in setup.hpp 2016-04-15 12:38:08 +02:00
jan p springer
e54f0cc5cd Merge remote-tracking branch 'upstream/master' 2016-04-05 23:48:48 +01:00
Eric Engestrom
ca46062bea Fix spelling mistakes 2016-04-03 00:50:25 +01:00
Christophe Riccio
66b714c418 Finishing up removing GLM_FORCE_SIZE_FUNC define and passing by copy scalars 2016-03-23 02:01:16 +05:30
Christophe Riccio
bbe076549a Improved coding style consistency, scalars are passed by copy 2016-03-19 17:10:42 +01:00
Christophe Riccio
1d9f8408e6 Merge 0.9.7 branch 2016-03-19 12:53:27 +01:00
Sami Kankaristo
578c4f4f9f Rename tvec1 parameters from scalar to v1/v2 2016-03-19 12:35:12 +01:00
Sami Kankaristo
ad9bfffe65 Fix operator-(), add operator+() 2016-03-19 12:35:04 +01:00
Sami Kankaristo
c7700573a4 Add missing boolean operator declarations 2016-03-19 12:34:59 +01:00
Sami Kankaristo
42b818d4bb Fix declarations (use tdualquat instead of tquat) 2016-03-19 12:34:51 +01:00
Sami Kankaristo
ece2b8b5a2 Add missing boolean operator declarations 2016-03-19 12:34:28 +01:00
Sami Kankaristo
8662a567b2 Add const & to POD to match other functions in the class 2016-03-19 12:34:09 +01:00
Sami Kankaristo
b7fef63ef8 Remove const & from POD to match other functions in class 2016-03-19 12:33:42 +01:00
Sami Kankaristo
d3036fd010 Add missing operator function definitions 2016-03-19 12:32:42 +01:00
Sami Kankaristo
785c8892d9 Add missing const to declaration 2016-03-19 12:32:24 +01:00
Christophe Riccio
6c61c332f4 Fixed missing GLM_PLATFORM_CYGWIN declaration #495 2016-03-19 12:31:19 +01:00
Christophe Riccio
61d58b0296 Fixed missing GLM_PLATFORM_CYGWIN declaration #495 2016-03-19 12:28:18 +01:00
Sami Kankaristo
99d3486e1f Rename tvec1 parameters from scalar to v1/v2 2016-03-15 03:24:53 +02:00
Sami Kankaristo
2d54f437f1 Fix operator-(), add operator+() 2016-03-15 02:38:16 +02:00
Sami Kankaristo
55d7b07e12 Add missing boolean operator declarations 2016-03-15 02:37:38 +02:00
Sami Kankaristo
131b85f4b9 Fix declarations (use tdualquat instead of tquat) 2016-03-15 02:36:33 +02:00
Sami Kankaristo
21fb034338 Add missing boolean operator declarations 2016-03-15 02:22:48 +02:00
Sami Kankaristo
236fed9d93 Add const & to POD to match other functions in the class 2016-03-15 02:21:42 +02:00
Sami Kankaristo
1e192be370 Remove const & from POD to match other functions in class 2016-03-15 02:20:15 +02:00
jan p springer
25d6c8e341 update: date stamps + GLM_META_PROG_HELPERS pre-requiste 2016-03-14 16:37:30 +00:00
jan p springer
a5a69566b9 update: date stamps 2016-03-14 16:36:34 +00:00
jan p springer
b52156991e fixed: glm::operator<< (using a copy of #491) 2016-03-14 13:13:21 +00:00
jan p springer
ca7a4ed4fe Merge remote-tracking branch 'upstream/master' 2016-03-14 12:35:35 +00:00
Jesse Talavera-Greenberg
ae15b8982b Correct type_trait info so it doesn't conflict with the file name 2016-03-13 20:23:51 -04:00
Jesse Talavera-Greenberg
ffaa6fe7c0 Add missing cols/rows constants 2016-03-13 20:19:19 -04:00
Sami Kankaristo
798e4f0e78 Remove (old?) operator/ member functions
These don't seem to have matching definitions and they conflict with
similar functions in the glm namespace (in the same header files).
2016-03-13 21:32:41 +02:00
Sami Kankaristo
8e7a3a9053 Add missing operator function definitions 2016-03-13 21:32:33 +02:00
Sami Kankaristo
b968defd22 Add missing const to declaration 2016-03-13 21:32:06 +02:00
Christophe Riccio
234d7d4ba9 Simplify code removing GLM_FORCE_SIZE_FUNC, GLM_META_PROG_HELPERS, GLM_STATIC_CONST_MEMBERS and 'type' type trait. Added experiments for GTX_type_trait 2016-03-13 12:56:26 +01:00
Sami Kankaristo
e60273daff Add missing vec4 operator definitions
Also rename the parameters to match similar functions in other vector
classes.
2016-03-12 20:33:53 +01:00
Sami Kankaristo
3ec43e9522 Fix incorrect declaration (now matches definition) 2016-03-12 20:33:49 +01:00
Sami Kankaristo
a848fa69be Remove duplicate function declarations 2016-03-12 20:33:45 +01:00
Christophe Riccio
95cf1825d5 Merge branch 'master' of https://github.com/g-truc/glm 2016-03-12 20:31:29 +01:00
Sami Kankaristo
3860fbaa9a Add missing vec4 operator definitions
Also rename the parameters to match similar functions in other vector
classes.
2016-03-12 18:34:50 +02:00
Sami Kankaristo
780d5f403b Fix incorrect declaration (now matches definition) 2016-03-12 18:31:43 +02:00
Sami Kankaristo
5222e0baca Remove duplicate function declarations 2016-03-12 18:30:07 +02:00
Christophe Riccio
b14e39b4cf Added target to build optional static and dynamic GLM library 2016-03-12 01:32:40 +01:00
Christophe Riccio
86c58b8b8b Added iround and uround to GTC_integer, fast round on positive values 2016-03-10 21:53:08 +01:00
Christophe Riccio
79b433e9b0 Merge branch 'master' of https://github.com/g-truc/glm 2016-03-10 21:19:35 +01:00
Christophe Riccio
c853df1638 Added uround to GTC_integer, fast round on positive values 2016-03-10 21:17:46 +01:00
Christophe Riccio
6e5f42bd28 Fixed error message type 2016-03-06 12:52:34 +01:00
Christophe Riccio
f48fe286ad Consolidate setup options in setup.hpp 2016-03-06 03:36:20 +01:00
Christophe Riccio
a391bc1be6 Clean up GTX_matrix_transform coding style 2016-03-06 02:28:21 +01:00
Christophe Riccio
ecfebe640f Clean up to close model matrix decompose #227 2016-03-06 02:13:45 +01:00
Christophe Riccio
fe18a36c10 - Added right and left handed projection and clip control support #447 #119 2016-03-06 00:16:09 +01:00
Paul Konstantin Gerke
239cf70ade Fixed: outerProduct was defined incorrectly for unmatched vecX types. E.g. outerProduct(vec2, vec4) did not succeed because the matrix return types were wrong. The computing function seemed fine. I used https://en.wikipedia.org/wiki/Outer_product as reference on what the number of columns/rows ''should'' be and fixed it so that it matches the description from wikipedia
Added: tests for outerProduct with unmatched vector dimensions (actually testing all combinations now)
2016-03-05 23:51:20 +01:00
Paul Konstantin Gerke
b3b72527b1 Fixed: operator signatures of mat2x4 and vec4 (no guaratees that I found all issues) 2016-03-05 23:51:06 +01:00
sippeangelo
2d813b587a This fixes #461 2016-03-05 23:46:39 +01:00
Angelica Wrangler
c9720a7f40 Merge pull request #485 from NouberNou/NouberNou-Polar-Coordinates-Fix
Fix polar coordinates function latitude. #485
2016-03-05 23:35:14 +01:00
Angelica Wrangler
8647d60086 Merge pull request #462 from sippeangelo/issue-461
eulerAngles precision error, returns NaN #462 #461
2016-03-05 23:27:51 +01:00
Angelica Wrangler
72a8ba473d Merge pull request #475 from MrApplejuice/master
Fixed: outerProduct defintions and operator signatures for mat2x4 and vec4 #475
2016-03-05 23:18:21 +01:00
Angelica Wrangler
2783a490da Merge pull request #478 from hoodie/master
fixed a typo #478
2016-03-05 23:12:26 +01:00
Christophe Riccio
251ad15b68 Improved GLM_FORCE_EXPLICIT_CTOR coverage #481 2016-03-05 23:01:01 +01:00
NouberNou
b189cb2f29 Fix polar coordinates function latitude.
Latitude was being computed from `atan`, should be `asin`.
2016-02-25 18:18:02 -08:00
Christophe Riccio
cb71d2376d Merge branch '0.9.7' 2016-02-21 19:40:47 +01:00
Christophe Riccio
045aa8e541 Fixed atanh warning #484 2016-02-21 19:40:24 +01:00
Christophe Riccio
4945ec7471 Merge 0.9.7 branch 2016-02-21 19:00:36 +01:00
Christophe Riccio
0d48c43385 Fixed asinh warning with C++98 STL #484 2016-02-21 18:59:26 +01:00
Christophe Riccio
162fad6a31 Merge branch '0.9.7' 2016-02-21 14:29:31 +01:00
Christophe Riccio
500a955d45 Fixed 64 bits constants warnings on GCC #463 2016-02-21 14:29:07 +01:00
Christophe Riccio
54ad263974 Fixed Clang on Windows build #479 2016-02-21 14:15:44 +01:00
Christophe Riccio
14e0a5576a Fixed Clang on Windows build #479 2016-02-21 14:15:17 +01:00
Christophe Riccio
907cb9d968 Fixed bad merge #483 2016-02-21 13:24:29 +01:00
Christophe Riccio
65e88d9f9d Merge 0.9.7 2016-02-15 21:13:42 +01:00
Christophe Riccio
cc2f15803e Added AVX512 detection 2016-02-15 21:11:55 +01:00
Christophe Riccio
407a7598aa Improved new version of GCC detection #477 2016-02-15 20:29:55 +01:00
Joonas Sarajärvi
bc09ecf898 setup: detect GCC 6.0 2016-02-15 20:27:10 +01:00
Hendrik Sollich
0476be3e74 fixed a typo 2016-02-09 12:41:31 +01:00
Joonas Sarajärvi
f0acbbd4ac setup: detect GCC 6.0 2016-02-04 19:42:25 +02:00
Paul Konstantin Gerke
fb309e0eff Fixed: outerProduct was defined incorrectly for unmatched vecX types. E.g. outerProduct(vec2, vec4) did not succeed because the matrix return types were wrong. The computing function seemed fine. I used https://en.wikipedia.org/wiki/Outer_product as reference on what the number of columns/rows ''should'' be and fixed it so that it matches the description from wikipedia
Added: tests for outerProduct with unmatched vector dimensions (actually testing all combinations now)
2016-01-24 21:14:25 +01:00
Paul Konstantin Gerke
2c7430e9bc Fixed: operator signatures of mat2x4 and vec4 (no guaratees that I found all issues) 2016-01-24 19:34:26 +01:00
Christophe Riccio
8bcc4e0045 merge 0.9.7 2016-01-03 18:46:43 +01:00
Christophe Riccio
ebdb7aa45b Added unary + operator #435 2016-01-03 18:39:40 +01:00
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
Christophe Riccio
268af877ab Cygwin GCC doesn't have a C++11 STL library 2016-01-03 18:32:26 +01:00
Sven-Hendrik Haase
4ea72b3128 Fix docs 2016-01-03 18:31:37 +01:00
Stephen Hill
c83add59b3 Fixed various 'X is not defined' warnings 2016-01-03 18:27:12 +01:00
Stephen Hill
ba46e0500e Fixed 'GLM_COMPILER_VC2005 is not defined' warning
This GLM compiler version isn't defined, so I just removed the legacy functions.
2016-01-03 18:27:00 +01:00
Stephen Hill
4bb352b628 Fixed "Declaration shadows a field" warning 2016-01-03 18:26:54 +01:00
Adrian Krupa
c9400562ec Fixed build 2016-01-03 18:25:45 +01:00
humbletim
52c9f124e3 Fixed ldexp and frexp compilation errors 2016-01-03 18:20:13 +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
a754ab2e7e Fixed ICC on Linux build errors #449 2016-01-03 18:10:46 +01:00
Christophe Riccio
adb03bee5c Fixed ICC on Linux build errors #449 2016-01-03 18:08:00 +01:00
Christophe Riccio
df39980121 Tentative fix for 64 bits on GCC 2016-01-03 17:36:31 +01:00
Christophe Riccio
7a1c042d8b Fixed ICC on Linux build errors #449 2016-01-03 17:10:24 +01:00
Christophe Riccio
2f2782d72a Fixed ICC on Linux build errors #449 2016-01-03 16:03:30 +01:00
Christophe R
8d4d9d1877 Merge pull request #466 from humbletim/master
Fixed ldexp compilation error #466
2016-01-01 14:34:04 +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
Christophe R
d94b0b7971 Merge pull request #467 from svenstaro/patch-2
Fix wrong docs #467
2016-01-01 12:50:59 +01:00
Stephen Hill
47a2a6adfb Fixed various 'X is not defined' warnings 2015-12-23 12:19:13 -05:00
Stephen Hill
89cecd373a Fixed 'GLM_COMPILER_VC2005 is not defined' warning
This GLM compiler version isn't defined, so I just removed the legacy functions.
2015-12-23 12:18:14 -05:00
Stephen Hill
22467f00f8 Fixed "Declaration shadows a field" warning 2015-12-23 12:16:31 -05: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