Groove
6f9a194c2c
Fixed VC and C++98 warning
2018-08-18 13:08:36 +02:00
Christophe Riccio
88278df477
Fixed platform detection typo #805
2018-08-18 10:15:11 +02:00
Christophe Riccio
329f0e46f1
Fixed missing types in fwd.hpp #804
2018-08-18 00:02:29 +02:00
Christophe Riccio
c7822ff6ff
Fixed swizzle error with C++ 98
2018-08-17 01:10:51 +02:00
Christophe Riccio
803c58c99e
Fixed Clang SIMD usage
2018-08-17 00:19:59 +02:00
Christophe Riccio
597ac53f20
Fixed SIMD build
2018-08-16 23:18:13 +02:00
Christophe Riccio
7c379193e7
Fixed GLM_HAS_CXX11_STL detection #802
2018-08-16 17:09:32 +02:00
Christophe Riccio
fceca6cf19
Fixed tests, clean up
2018-08-16 17:03:07 +02:00
Christophe Riccio
8f12f96787
More constexpr
2018-08-16 00:45:31 +02:00
Christophe Riccio
61540a5204
Added missing fmin and fmax overloads
2018-08-15 20:07:12 +02:00
Christophe Riccio
c4ed4ed0c7
Added EXT_scalar_common, EXT_vector_common and EXT_quaternion_exponential extensions
2018-08-15 18:54:04 +02:00
Christophe Riccio
f905aecd23
Sliced matrix transform extension
2018-08-14 00:10:50 +02:00
Christophe Riccio
15fe4e84cc
More tests
2018-08-13 21:51:47 +02:00
Christophe Riccio
6c436efacd
Fixed build errors
2018-08-13 21:03:53 +02:00
Christophe Riccio
72c3b98e5b
Fixed warnings
2018-08-13 20:41:11 +02:00
Christophe Riccio
0e763af6e7
Sliced quaternions into multiple extensions
2018-08-13 19:11:54 +02:00
Christophe Riccio
a21401d2a4
Reduce dependencies, added scalar EXT extensions
2018-08-12 23:27:02 +02:00
Christophe Riccio
02c4d8b15e
Fixed doxygen
2018-08-10 01:30:05 +02:00
Christophe Riccio
9abf4a5d68
Updated doxygen doc
2018-08-10 00:27:24 +02:00
Christophe Riccio
522f483a14
Fixed build #800
2018-08-09 19:22:53 +02:00
Christophe Riccio
cb4ca81d9b
Clean up quaternion relational API
2018-08-09 14:46:38 +02:00
Christophe Riccio
25f4bce688
Fixed build
2018-08-08 23:18:33 +02:00
Christophe Riccio
9f60b0977c
Fixed clang warning
2018-08-08 22:20:30 +02:00
Christophe Riccio
ba8ee44b19
Added EXT_quaternion_relational and EXT_quaternion_geometric extensions
2018-08-08 18:36:20 +02:00
Christophe Riccio
8288f17558
Fixed quaternion SIMD includes #799
2018-08-08 17:42:50 +02:00
Christophe Riccio
cca8569a41
Fixed matrix comparison as constexpr
2018-08-08 00:17:29 +02:00
Christophe Riccio
c1be8bf008
Fixed constexpr relational function and added tests
2018-08-07 23:52:57 +02:00
Christophe Riccio
13ca6771ca
Fixed constexpr build...
2018-08-07 20:44:44 +02:00
Christophe Riccio
6d34ae4c5e
Refactor EXT headers
2018-08-07 18:41:41 +02:00
Christophe Riccio
26be7bda82
Fixed build
2018-08-07 14:46:56 +02:00
Christophe Riccio
8c9d16d868
Added quaternion EXT extensions
2018-08-07 13:55:13 +02:00
Christophe Riccio
c191e6cfe9
Fixed header directories
2018-08-07 12:42:11 +02:00
Christophe Riccio
310b8405c9
Refactor split headers as extension files
2018-08-07 10:46:09 +02:00
Christophe Riccio
cf6bf16d62
Make matrix relational constexpr
2018-08-07 01:22:19 +02:00
Christophe Riccio
65655abd32
Make all core vector relational constexpr
2018-08-07 00:55:13 +02:00
Christophe Riccio
234d82e39d
Fixed extension names and API doc
2018-08-07 00:20:17 +02:00
Christophe Riccio
eead9500ef
Fixed Deleted dead files
2018-08-06 21:29:28 +02:00
Christophe Riccio
389fb2457d
Added constexpr relational operators
2018-08-06 19:28:42 +02:00
Christophe Riccio
1d9a8028e4
Reduced exposed API, reduced included dependencies
2018-08-05 19:04:40 +02:00
Christophe Riccio
7086d902e2
Fixed relational code, reduced header dependencies
2018-08-05 18:24:22 +02:00
Christophe Riccio
78879c675c
Refactor headers
2018-08-05 15:22:49 +02:00
Christophe Riccio
fd21f939d8
Rename headers to sort the files
2018-08-03 16:35:48 +02:00
Christophe Riccio
1092810f2f
Fixed build
2018-08-02 18:30:46 +02:00
Christophe Riccio
8a79414fb8
Removed type_vec files, deleting unnecessary dependences
2018-08-01 18:41:10 +02:00
Christophe Riccio
e1d21258e7
Split headers to improve compilation time #670
2018-08-01 18:24:31 +02:00
Christophe Riccio
428a468d13
Sliced ext relational extensions
2018-08-01 12:10:27 +02:00
Christophe Riccio
3f0bed6dce
Refactor vec1 implementation
2018-08-01 11:01:47 +02:00
Groove
d6673ffafe
Fixed doc error
2018-07-31 23:58:36 +02:00
Groove
5898692fc0
Fixed doc error
2018-07-31 23:37:26 +02:00
Groove
f758b48121
Fixed build
2018-07-31 23:26:05 +02:00
Groove
269ae64128
Merged remote master
2018-07-31 23:11:45 +02:00
Groove
fbf3f2016f
Refactor configuration macros
2018-07-31 23:05:48 +02:00
Christophe Riccio
0fb8b56f63
Removed useless GLM_FORCE_ALIGNED_GENTYPES
2018-07-31 14:28:14 +02:00
Groove
63aceae081
Fixed SSE1 code generation
2018-07-30 23:26:25 +02:00
Groove
cd58024e40
- Fixed infinite loop in random functions when using negative radius values using an assert #739
2018-07-29 23:30:35 +02:00
Groove
d4daef9150
Fixed invalid conversion from int scalar with vec4 constructor when using SSE instruction
2018-07-29 22:30:19 +02:00
Groove
147d56d90c
Can't see values for vec or mat in the debugger #665
2018-07-29 22:11:15 +02:00
Groove
09fb7dedbe
Added missing aligned matrix types to GTC_type_aligned
2018-07-29 18:08:02 +02:00
Groove
d427da09df
Fixed aligned matrices #777
2018-07-29 17:09:25 +02:00
Groove
d18c7f55ec
Tentative fix Visual C++ build
2018-07-29 16:13:21 +02:00
Groove
c53b98abb6
Full coverage of constexpr of vec types
2018-07-29 13:01:07 +02:00
Groove
d0472e0676
Improved constexpr coverrage
2018-07-29 12:04:18 +02:00
Groove
472f2c13b7
Improved constexpr support
2018-07-29 00:33:09 +02:00
Groove
178314a67d
Added constexpr test #794
2018-07-29 00:06:31 +02:00
Groove
2e3fc5da83
Fixed error: comparing floating point with == or != is unsafe
2018-07-28 21:35:59 +02:00
Groove
3e364981e8
Fixed error: comparing floating point with == or != is unsafe
2018-07-28 21:18:15 +02:00
Groove
633ca9a2f0
Fixed build
2018-07-28 17:01:06 +02:00
Groove
456dde14f4
Fixed error: comparing floating point with == or != is unsafe
2018-07-28 14:48:16 +02:00
Groove
4dce0e338d
Added vector relational tests
2018-07-26 23:33:10 +02:00
Christophe Riccio
1afa681512
- Added identity functions #765
2018-07-26 18:00:31 +02:00
Christophe Riccio
6afce5da27
Added missing equal and notEqual function for mat
2018-07-26 11:54:04 +02:00
Christophe Riccio
6e7bad6bbc
Fixed API doc
2018-07-26 11:22:31 +02:00
Groove
751bc4f7f7
- Added missing equal and notEqual with epsilon for matrix types in EXT_vector_relational
2018-07-26 00:03:31 +02:00
Groove
8f0b7c1373
Added missing equal and notEqual with epsilon for quaternion types
2018-07-25 22:16:16 +02:00
Groove
01f9ab5b6d
Revert "- Fixed unexpected operator== behavior #723 "
...
This reverts commit c46981b4c3
.
2018-07-25 00:40:39 +02:00
Groove
c46981b4c3
- Fixed unexpected operator== behavior #723
2018-07-25 00:23:38 +02:00
Groove
c3c8b73c57
Use constexpr only with C++14 compiler
2018-07-24 23:41:55 +02:00
Groove
87ecf4a233
Fixed Visual C++ 2013 warnings in vector relational code #782
2018-07-24 21:04:48 +02:00
Groove
2b22509678
Fixed VC2015 build with GLM_FORCE_CTOR_INIT
2018-07-24 20:49:38 +02:00
Groove
bf7cc4a002
Merge branch 'master' of https://github.com/g-truc/glm
2018-07-24 20:15:14 +02:00
Groove
e1cddde7d5
Fixed VC2013 build
2018-07-24 20:15:08 +02:00
Groove
ea1fccae5e
Fixed definision and declarion constexpr miss match
2018-07-24 00:50:58 +02:00
Christophe Riccio
0b39a77057
Fixed build errors
2018-07-23 20:53:38 +02:00
Christophe Riccio
0e11546a3d
Removed unused messages
2018-07-23 20:44:11 +02:00
Christophe Riccio
988858145c
Added intersectLineTriangle tests
2018-07-23 20:42:38 +02:00
Christophe Riccio
b0d585dc18
Clean up
2018-07-23 20:14:48 +02:00
Christophe Riccio
7c9c8cbd6f
Fixed clang build
2018-07-23 20:13:40 +02:00
Christophe Riccio
bb0f4ef324
Fixed build error
2018-07-23 20:05:12 +02:00
Christophe Riccio
b6321cb85e
Clean up configuration defines
2018-07-23 19:38:57 +02:00
Christophe Riccio
1644f0f489
Removed restriction #if defined(GLM_FORCE_UNRESTRICTED_GENTYPE)
2018-07-23 18:59:09 +02:00
Christophe Riccio
96bf3c0d95
Removed GLM_FORCE_SWIZZLE and GLM_FORCE_UNRESTRICTED_GENTYPE restriction
2018-07-23 18:53:10 +02:00
Christophe Riccio
4e574af7ac
Fixed GLM_USE_ALIGNED_GENTYPES initialization
2018-07-23 18:45:43 +02:00
Christophe Riccio
508d0bcbb1
Fixed defaulted constructor and fixed anonymous struct detection and use
2018-07-23 16:02:21 +02:00
Christophe Riccio
ba4a4c6014
Added missing template parameters, removed GLM_DEFAULT_CTOR
2018-07-23 12:02:55 +02:00
Groove
7e3f42eeda
Fixed initialisation
2018-07-21 18:07:24 +02:00
Groove
848800b5c4
Fixed glm::ortho #790
2018-07-21 17:52:40 +02:00
Groove
9a0311f327
Fixed Visual C++ language detection
2018-07-20 00:40:49 +02:00
Groove
7f9cb53c54
Fixed Visual C++ 2013
2018-07-15 11:47:32 +02:00
Christophe Riccio
61e68f2667
Fixed swizzle functions and operators tests
2018-07-14 19:56:13 +02:00
Christophe Riccio
a23dd2f800
Clean up CMake project, added arithmetic operators to swizzle operators types
2018-07-14 19:14:08 +02:00
Christophe Riccio
ac1f60997c
Fixed GCC and Cland build
2018-07-14 18:29:49 +02:00
Christophe Riccio
9029ac9315
Removed dead file
2018-07-14 18:28:43 +02:00
Christophe Riccio
4db3abe6b5
Refactored GLM_FORCE_MESSAGES, added swizzle operators and functions tests
2018-07-14 17:56:40 +02:00
Christophe Riccio
d50c699515
Fixed SIMD support detection
2018-07-14 16:38:42 +02:00
Christophe Riccio
657ca108ed
Fixed Visual C++ language detection
2018-07-14 16:22:17 +02:00
Christophe Riccio
cb3436886e
Fixed Clang build
2018-07-14 15:56:30 +02:00
Groove
f27a24de0e
Refactor GLM messages and build targets
2018-07-14 00:17:46 +02:00
Groove
5c543e65f8
Fixed build
2018-07-12 21:03:14 +02:00
Groove
802532de0f
Fixed build
2018-07-12 00:47:38 +02:00
Groove
c7b6cf56e3
Fixed swizzle functions and tests
2018-07-12 00:36:59 +02:00
Groove
e30685ef96
Fixed build
2018-07-11 23:01:24 +02:00
Groove
5620858a14
Fixed build
2018-07-11 22:45:18 +02:00
Groove
b76f938505
Added C++2a detection and fixed constexpr tests
2018-07-11 21:59:25 +02:00
Groove
1381e0b4c1
Fixed build errors
2018-07-11 20:20:14 +02:00
Groove
10d7a5dc30
Fixed build
2018-07-11 20:11:03 +02:00
Christophe Riccio
0f2e1fa493
Fixed build
2018-07-11 17:49:15 +02:00
Christophe Riccio
2098b073ff
Tentative fix build
2018-07-11 11:44:38 +02:00
Groove
710e95fb08
Fixed build
2018-07-11 03:44:15 +02:00
Groove
e280eb9d6c
Fixed build
2018-07-11 03:38:29 +02:00
Groove
da8b136419
Fixed build
2018-07-11 03:30:01 +02:00
Groove
16106b2e3e
Added C++17 detection, added VC language version detection, clean up alignment type, clean up swizzle operator detection
2018-07-11 02:53:22 +02:00
Groove
bd2c7070d7
Fixed build
2018-07-10 23:04:19 +02:00
Groove
c5386c05f9
More constexpr experiments
2018-07-10 22:49:48 +02:00
Groove
5ddfa3f8a9
More constexpr test
2018-07-10 22:17:31 +02:00
Groove
50bd4b0711
Initial work on more constexpr support in GLM
2018-07-10 22:07:03 +02:00
Christophe Riccio
ce644e01bb
Removed useless copy assignment operators
2018-07-10 19:01:09 +02:00
Christophe Riccio
7ed97b4cab
Fixed GCC build
2018-07-10 18:45:48 +02:00
Christophe Riccio
dee806ea3f
Use initializer lists for matrix constructor
2018-07-10 18:23:59 +02:00
Christophe Riccio
d746c1eba9
Fixed default and constexpr build issues
2018-07-10 14:28:13 +02:00
Christophe Riccio
e48c5ae892
More use of initializer lists
2018-07-10 11:52:00 +02:00
Christophe Riccio
3308b75836
Use initializer lists constructors for mat2
2018-07-10 10:52:47 +02:00
Groove
65f1fb25bb
Redesigned constexpr support which excludes both SIMD and constexpr #783
2018-07-10 01:00:47 +02:00
Groove
baca827371
Redesigned constexpr support which supports both SIMD and constexpr on Clang #783
2018-07-10 00:28:05 +02:00
Groove
d3a2542c77
Fixed build
2018-07-09 23:55:25 +02:00
Groove
13ef0f92bc
Added detection of Visual C++ 2017 toolsets
2018-07-09 23:23:24 +02:00
Groove
398e66ac32
Redesigned constexpr support which requires disable GLM SIMD on Visual C++ #783
2018-07-09 21:44:28 +02:00
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