Christophe Riccio
2cc0c53da7
Fixed warnings
2017-08-08 23:19:16 +02:00
Christophe Riccio
00e7908294
Fixed warnings
2017-08-07 14:56:45 +02:00
Christophe Riccio
384dab02e4
Reduce the number of warnings with -Weverything #646
2017-08-06 23:00:05 +02:00
Christophe Riccio
aa026cc0da
Removed glm::uninitialize
2017-07-25 22:50:31 +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
3c7bd2eb53
Fixed quat normalize build error #656
2017-07-24 12:09:20 +02: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
eda6c93276
More consistent resolution of shadow warnings #595
2017-01-04 21:27:43 +01:00
Martin Gerhardy
d63d803e8f
Fixed shadow warnings for quaternions
2017-01-03 20:22:54 +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
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
2e9f580615
vector/matrix component length() static #565
2016-11-01 08:44:19 +01: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
Christophe Riccio
ad1ae45066
More use of GLM_HAS_ALIGNED_TYPE
2016-07-17 03:18:19 +02:00
Christophe Riccio
dc89797275
- Added quaternion version of isnan and isinf #521
2016-07-17 01:02:30 +02:00
Christophe Riccio
166099e82d
Added generic quaternion SIMD optimizations
2016-07-14 20:52:29 +02:00
Christophe Riccio
41984e42ab
Added GTC_type_aligned with aligned *vec* types
2016-06-01 00:43:35 +02:00
Christophe Riccio
316460408a
Simplify and more consistency for files headers
2016-05-23 22:55:49 +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
9a7b802bdc
- Added constexpr for *vec*, *mat*, *quat* and *dual_quat* types #493
2016-05-05 13:05:15 +02: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
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
sippeangelo
014a7f8404
This fixes #461
2015-12-16 16:03:37 +01:00
Christophe Riccio
32fc69ee11
- Added unary + operator #435
2015-10-17 04:11:52 +02:00
Jesse Talavera-Greenberg
5eb7ad5d47
Add IDENTITY constants for quat and simdQuat
...
- Why the hell am I not studying for the test I have tomorrow
2015-10-05 19:32:19 -04:00
Jesse Talavera-Greenberg
ef320a2a2f
Simplify the static const definitions for vectors and quaternions
...
- DRY, baby!
2015-10-05 19:30:16 -04:00
Jesse Talavera-Greenberg
d1cdb46cfb
Wrap tquat's, simdQuat's and simdVec4's static constants in GLM_STATIC_CONST_MEMBERS
...
- Also, fixed indentation
2015-10-05 18:27:07 -04:00
Jesse Talavera-Greenberg
a92ed0cdf5
Add static constants to quat, simdVec4, and simdQuat
...
- No tests, though
2015-10-02 18:36:27 -04:00
Christophe Riccio
e0c4a71016
Clean up doxygen and source
2015-08-02 01:39:00 +02:00
Christophe Riccio
afa193704c
Fixed interactions with GLM_FORCE_NO_CTOR_INIT and default functions #366
2015-07-25 23:23:59 +02:00
Christophe Riccio
a56a40e1f2
Added support of defaulted functions to GLM types, to use them in unions #366
2015-07-25 21:31:51 +02:00
Christophe Riccio
7844332816
Fixed memory corruption (undefined behaviour) #303
2015-02-14 13:56:48 +01:00
Christophe Riccio
fc8b4404f0
Fixed faceforward build #289
2014-12-19 23:54:25 +01:00
Christophe Riccio
2117c53dbf
Fixed conflict between GTX_compatibility and GTC_quaternion #286
2014-12-10 09:39:23 +01:00
Christophe Riccio
38d99978ab
Fixed C++11 explicit conversion operators detection #282
2014-12-03 21:48:41 +01:00
Christophe Riccio
be0c5da488
size_type and length_type for all types
2014-11-29 00:53:47 +01:00
Christophe Riccio
3f48ffefb0
Updated license
2014-11-26 00:27:12 +01:00
plasmacel
017e97d554
Update quaternion.inl
2014-11-24 01:34:36 +01:00
plasmacel
4581d25ec9
Update quaternion.inl
2014-11-24 01:16:07 +01:00
Christophe Riccio
3adf263341
Added GLM_FORCE_EXPLICIT_CTOR to require explicit type conversions #269
2014-11-17 22:59:10 +01:00
Christophe Riccio
0b8ca1a5b6
Added a CMake option to execute GLM performance tests. Made quat and dualquat trivially constructible #263
2014-11-15 00:05:52 +01:00
Christophe Riccio
790f520488
Clean up coding style
2014-10-19 18:15:03 +02:00
Christophe Riccio
f2383340cf
Clean up coding style
2014-10-19 17:09:47 +02:00
Christophe Riccio
bcd07b50f3
- Added GLM_FORCE_NO_CTOR_INIT
2014-10-19 03:33:14 +02:00
Christophe Riccio
c2d542562e
Fixed GLM_FORCE_SIZE_FUNC support overlook #245 . Added uninitiallized constructor to quaternion. Fixed lack of conscistency or quaternion constructors with other types. Various uninitilized constructor optimizations
2014-10-12 01:24:28 +02:00