Christophe Riccio
68a829e7ed
Added fmin, fmax and fclamp to GTX_extended_min_max #372
2017-08-20 18:42:48 +02:00
Christophe Riccio
7466c4a9e7
Fixed Visual C++ warnings
2017-08-18 20:08:36 +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
d336d3fb27
Fixed no-documentation warnings
2017-08-17 11:40:30 +02:00
Christophe Riccio
4c43e9e679
Fixed GTX_matrix_factorisation build
2017-08-16 02:24:28 +02:00
Christophe Riccio
e33108af5f
Fixed shadows template parameter warnings
2017-08-16 01:56:00 +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
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
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
00e7908294
Fixed warnings
2017-08-07 14:56:45 +02:00
Christophe Riccio
49435a09da
Fixed warings generated using -Weverything
2017-08-07 01:00:36 +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
6c70e74f3c
Fixed quatLookAt #659
2017-07-26 02:32:40 +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
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
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
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
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
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
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
39f775fa6c
Merged 0.9.8 branch
2017-01-07 12:15:08 +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
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
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
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
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
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
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
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
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
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
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
a17f795aaf
Added GTX_vec_swizzle, faster compile time swizzling then swizzle operator #558
2016-11-01 22:36:49 +01:00
Christophe Riccio
44a981ea68
Merge 0.9.8
2016-11-01 09:16:29 +01:00
Christophe Riccio
2e9f580615
vector/matrix component length() static #565
2016-11-01 08:44:19 +01: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
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
3422dad8cc
Fixed missing GLM_FUNC_DECL causing Cuda build errors #547
2016-09-11 02:51:49 +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
d029db8ac0
Merge 0.9.8
2016-09-02 01:46:56 +02:00
Christophe Riccio
a609a0fea6
- Added more information to build messages
2016-09-02 00:30:37 +02:00
Christophe Riccio
1c5fd06c2d
Fixed cast and clean up
2016-09-01 22:46:21 +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
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
Christophe Riccio
630f0840f2
Removed 0.9.8 deprecated extensions
2016-07-16 23:46:41 +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
7aca47b19e
Fixed missing vec1 overload to length2 and distance2 functions #431
2016-06-04 23:48:05 +02:00
Christophe Riccio
41984e42ab
Added GTC_type_aligned with aligned *vec* types
2016-06-01 00:43:35 +02:00