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
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
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
Sami Kankaristo
f4103fe7f8
Change -pedantic to -Wpedantic
2016-07-20 21:26:45 +03:00
Christophe Riccio
867f03c5f2
Fixed disable pedentic warning for anoynymous struct in GLM
2016-07-17 11:30:12 +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
dc89797275
- Added quaternion version of isnan and isinf #521
2016-07-17 01:02:30 +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
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
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
b8b43e6a4d
Added GTC_functions extension
2016-07-14 15:20:44 +02:00
Christophe Riccio
9613edbaf5
Updated GTC_type_aligned extension
2016-06-09 23:18:44 +02:00
Christophe Riccio
b54a256499
- Fixed strict aliaing warnings #473
2016-06-04 22:57:21 +02:00
Christophe Riccio
41984e42ab
Added GTC_type_aligned with aligned *vec* types
2016-06-01 00:43:35 +02:00
Christophe Riccio
ab159770b3
mad optimizations, fixed build
2016-05-28 17:12:48 +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
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
83999c749a
Reorganized SIMD code
2016-05-01 12:29:11 +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
66b714c418
Finishing up removing GLM_FORCE_SIZE_FUNC define and passing by copy scalars
2016-03-23 02:01:16 +05:30
Sami Kankaristo
ece2b8b5a2
Add missing boolean operator declarations
2016-03-19 12:34:28 +01:00
Sami Kankaristo
21fb034338
Add missing boolean operator declarations
2016-03-15 02:22:48 +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
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
c853df1638
Added uround to GTC_integer, fast round on positive values
2016-03-10 21:17:46 +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
fe18a36c10
- Added right and left handed projection and clip control support #447 #119
2016-03-06 00:16:09 +01:00
sippeangelo
2d813b587a
This fixes #461
2016-03-05 23:46:39 +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
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
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
Hendrik Sollich
0476be3e74
fixed a typo
2016-02-09 12:41:31 +01:00
Christophe Riccio
1709e9abca
Added unary + operator #435
2016-01-03 18:37:46 +01:00