Groove
213a66f9bf
- Added missing vec1 based constructors
2018-07-07 12:04:27 +02:00
Groove
ec261bd21b
Added vec1 based constructors to vec4 with tests and fixed build
2018-07-06 22:22:09 +02:00
Groove
f5e27805af
Added vec1 based constructors to vec3 with tests and fixed build
2018-07-06 21:08:06 +02:00
Groove
97ad14cf82
Added vec1 based constructors to vec2 zith tests and started vec3
2018-07-05 15:21:34 +02:00
Christophe Riccio
0d973b40a4
Fixed int mod
2018-06-18 14:25:14 +02:00
Christophe Riccio
5da834b725
Fixed warnings
2018-06-18 12:02:49 +02:00
Christophe
56ed906320
Merge pull request #772 from thechosenone124/patch-1
...
Intermediate Function Is Improperly Done #772
2018-06-01 23:49:02 +02:00
Christophe
c0e2aa0223
Merge pull request #773 from mosra/dualquat-to-string
...
Make to_string(dualquat) actually work #773
2018-06-01 23:46:35 +02:00
Christophe Riccio
2a332ac098
Fixed build
2018-06-01 23:32:57 +02:00
Christophe Riccio
a772bb3fd1
Added missing bitfieldInterleave overload
2018-06-01 18:08:11 +02:00
Christophe Riccio
b4981e56fa
Added bitfieldDeinterleave with tests
2018-06-01 18:01:35 +02:00
Vladimír Vondruš
aa1728cde2
Make to_string(dualquat) actually work.
...
It segfaulted somewhere deep in strlen() due to a mismatch in printf()
argument count.
2018-06-01 02:45:01 +02:00
thechosenone124
8bbbbfcafd
Intermediate Function Is Improperly Done
...
The formula for calculating the intermediate for a SQUAD interpolation is
exp((log(next * invQuat) + log(prev * invQuat)) / static_cast<T>(-4)) * curr;
The current code uses addition instead of multiplication (based on http://web.mit.edu/2.998/www/QuaternionReport1.pdf )
2018-05-30 23:36:37 -07:00
JimVonMoon
59e15deb6d
Fixed potential narrowing conversion in extractEulerAngleXYZ
2018-05-25 20:03:32 +02:00
Christophe Riccio
024e94b6c4
Fixed GTX_easing on Apple Clang
2018-05-08 21:27:22 +02:00
Christophe Riccio
ef615c8d6e
Tentative fix GTX_easing on Apple Clang
2018-05-08 20:57:34 +02:00
Christophe Riccio
5c02758b15
Tentative fix GTX_easing on Apple Clang
2018-05-08 20:05:54 +02:00
Christophe Riccio
3a7168eb55
Tentative fix Clang build
2018-05-08 17:16:35 +02:00
Christophe Riccio
e2b75b6bf7
Fixed GTX_easying clang warnings
2018-05-08 14:01:29 +02:00
Christophe Riccio
4d4dbcade6
Moved bounded function to GTX_common from EXT_vector_relational as there are quite new
2018-05-08 13:34:22 +02:00
Christophe Riccio
77acd2fe40
Clarify quat_cast documentation, applying on pure rotation matrices #759
2018-05-08 12:31:05 +02:00
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