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
Christophe Riccio
89d77b51c6
Alignof is a C++11 feature
2016-09-14 23:38:43 +02:00
Christophe Riccio
fa51f18b0c
Fixed GCC build broken by #548 PR
2016-09-14 22:01:30 +02:00
Christophe Riccio
4175505a83
Merge branch 'master' of https://github.com/amc522/glm into 0.9.8-align
2016-09-14 21:44:46 +02:00
Aaron
e57615b6bb
Changed how storage alignment is created to eliminate warnings on msvc.
2016-09-13 00:36:43 -07:00
Christophe Riccio
cb7179239b
- Fixed GCC 4.8 with C++11 compilation option #550
2016-09-13 00:21:56 +02:00
Jason P. Barmparesos
f3044dde88
Fixed bug on the faceforward function.
2016-09-13 00:01:09 +02:00
Aaron
460b6ba1b6
Corrected test for msvc compiler
2016-09-12 10:55:01 -07:00
Aaron
47abea7dba
Fixed scaling factors for packing and unpacking unorm555 and unorm565
2016-09-11 22:49:15 -07:00
Aaron
ec5e34e04f
Fixed some msvc warnings. Tested on msvc 2015 update 3.
2016-09-11 21:55:22 -07:00
Sami Kankaristo
e9e26ab926
Change -pedantic to -Wpedantic
2016-09-11 17:18:35 +02:00
Christophe Riccio
3c4fe6133e
Prepare GLM 0.9.8.1
2016-09-11 14:02:08 +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
bcc6879b4b
Fixed build
2016-09-11 03:24:37 +02:00
Christophe Riccio
3d6791ef00
Merge
2016-09-11 03:13:06 +02:00
Christophe Riccio
24075d56dd
Fixed build
2016-09-11 03:11:37 +02:00
Christophe Riccio
d0712875d8
Added missing extensions
2016-09-11 02:51:57 +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
90f0a88589
Added missing extensions
2016-09-11 02:50:47 +02:00
Christophe Riccio
64f276b804
Added missing extensions
2016-09-11 02:50:37 +02:00
Christophe Riccio
8a54ba3462
Added GTC_color_encoding
2016-09-11 02:50:08 +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
4be686d1fe
Merged 0.9.8
2016-09-11 00:21:34 +02:00
Christophe Riccio
c9831664c9
Updated manual
2016-09-11 00:19:17 +02:00
Sergey Alexandrov
ee789e9092
Add GLF_FUNC_QUALIFIER to functors in "type_vec4.inl"
2016-09-09 22:38:12 +02:00
Sergey Alexandrov
9b34889c0e
Add GLF_FUNC_QUALIFIER to functors in "type_vec4.inl"
2016-09-09 13:25:46 +02:00
Christophe Riccio
9cabe3b7bc
Merge branch '0.9.8'
2016-09-02 01:56:58 +02:00
Christophe Riccio
ff0054490d
Fixed GLM_FORCE_UNRESTRICTED_GENTYPE #543
2016-09-02 01:56:33 +02:00
Christophe Riccio
9160f8b8d2
Removed deprecated defines
2016-09-02 01:53:38 +02:00
Christophe Riccio
d029db8ac0
Merge 0.9.8
2016-09-02 01:46:56 +02:00
Christophe Riccio
e77c300e4c
Fixed error to cover deprecated define
2016-09-02 01:41:20 +02:00
Christophe Riccio
8bfefbd1ce
Document GLM_FORCE_UNRESTRICTED_GENTYPE and generate an error if both GLM_FORCE_SWIZZLE and GLM_FORCE_UNRESTRICTED_GENTYPE are defined at the same time
2016-09-02 01:38:40 +02:00
Christophe Riccio
a609a0fea6
- Added more information to build messages
2016-09-02 00:30:37 +02:00
Christophe Riccio
10dc67e2b5
- Added GLM_FORCE_UNRESTRICTED_GENTYPE allowing non basic genType #543
2016-09-01 23:32:12 +02:00
Christophe Riccio
1c5fd06c2d
Fixed cast and clean up
2016-09-01 22:46:21 +02: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
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
c947b3338b
Merge branch '0.9.8'
2016-08-11 00:42:43 +02:00
Christophe Riccio
ebafd8e82d
Fixed aligned type build on Visual C++ 2013 and older compiler #539
2016-08-11 00:41:38 +02: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
7ba6ea9a71
Merge branch '0.9.8' of https://github.com/g-truc/glm into 0.9.8
2016-08-09 20:07:46 +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
Christophe Riccio
39020ad727
Merge branch '0.9.8'
2016-08-08 11:45:38 +02:00
Christophe Riccio
8fbec7f28e
Fixed Clang detection #537
2016-08-08 11:45:30 +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
f71171d49b
Fixed 32-bits build #528 #529 , fixed VC 32 bits crash
2016-08-07 12:43:38 +02:00
Christophe Riccio
0dbdf3fad4
Fixed 32-bits build #528 #529 , fixed VC 32 bits crash
2016-08-07 12:42:45 +02:00
Christophe Riccio
e671d50e05
Merge branch '0.9.8'
2016-08-06 19:41:09 +02:00
Christophe Riccio
dcdc966969
Workaround Cuda compiler bug #530
2016-08-06 19:40:39 +02:00
Christophe Riccio
cd50d4ae5c
Tentative CUDA workaround #530
2016-08-06 19:35:46 +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
Sami Kankaristo
f4103fe7f8
Change -pedantic to -Wpedantic
2016-07-20 21:26:45 +03:00
Sami Kankaristo
63dcf6ad77
Fix #ifdef (had old name)
2016-07-17 22:37:10 +02:00
Sami Kankaristo
c784051948
Fix #ifdef (had old name)
2016-07-17 21:01:57 +03:00
Christophe Riccio
ecc91d4361
Merge 0.9.8 branch
2016-07-17 11:52:15 +02:00
Christophe Riccio
867f03c5f2
Fixed disable pedentic warning for anoynymous struct in GLM
2016-07-17 11:30:12 +02:00
Christophe Riccio
1d8dadcd15
Fixed disable pedentic warning for anoynymous struct in GLM
2016-07-17 11:15:53 +02:00
Christophe Riccio
60026b2066
Fixed build and clean up
2016-07-17 11:07:46 +02:00
Christophe Riccio
de77fadde2
Fixed long long warnings
2016-07-17 10:56:27 +02:00
Christophe Riccio
aa7951aaa4
Fixed long long warnings
2016-07-17 10:54:53 +02:00
Christophe Riccio
6fa619ee13
Fixed disabled long long warning on GCC
2016-07-17 03:46:50 +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
eb20cdc6ae
Added precision qualifier tests
2016-07-17 02:17:25 +02:00
Christophe Riccio
48ab7db993
Merge branch '0.9.8'
2016-07-17 01:13:47 +02:00
Christophe Riccio
dc89797275
- Added quaternion version of isnan and isinf #521
2016-07-17 01:02:30 +02:00
Christophe Riccio
630f0840f2
Removed 0.9.8 deprecated extensions
2016-07-16 23:46:41 +02:00
Christophe Riccio
077aaca6f7
Updated version
2016-07-16 23:18:23 +02:00
Christophe Riccio
6a6b54b699
Fixed long long warnings, fixed precision qualifier values on Clang where qualifiers had the same values
2016-07-16 22:34:07 +02:00
Christophe Riccio
c80e142816
No more warnings for use of long long
2016-07-16 22:25:09 +02:00
Christophe Riccio
0671e609bb
Merge branch 'master' of https://github.com/g-truc/glm
2016-07-16 20:45:09 +02:00
Christophe Riccio
7268a3d0c3
0.9.7 branch
2016-07-16 20:41:43 +02:00
Christophe Riccio
07baa3b45a
Revert, to reduce risks of regressions
2016-07-16 20:03:22 +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
848d68fe96
GLM requires long long support (C++98) and anonymous struct (C++11), disable the warnings within GLM. Strict compilers support check is performed. #524
2016-07-16 18:36:56 +02:00
Christophe Riccio
b157b1f6e3
Fixed build
2016-07-16 16:54:11 +02:00
Christophe Riccio
9e27641d94
Fixed Clang warning
2016-07-16 16:52:58 +02:00
Christophe Riccio
46cd601681
Fixed build error #524
2016-07-16 15:57:49 +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
2087606611
- Improved C++ 11 STL detection #523
2016-07-16 00:28:32 +02:00
Christophe Riccio
76fce77337
- Updated list of compiler versions detected
2016-07-15 23:49:20 +02:00
Christophe Riccio
09cbd5f7d6
Removed useless const references
2016-07-15 23:11:25 +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
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
6e9b524be1
Fixed matrix functions using SIMD code on unaligned types #518
2016-07-14 15:21:45 +02:00
Christophe Riccio
b8b43e6a4d
Added GTC_functions extension
2016-07-14 15:20:44 +02:00
Christophe Riccio
3b1af3fe0b
Fixed build using SIMD
2016-07-01 01:01:32 +02:00
Christophe Riccio
0e1e181484
Clean up
2016-06-10 23:14:17 +02:00
Christophe Riccio
9613edbaf5
Updated GTC_type_aligned extension
2016-06-09 23:18:44 +02:00
Christophe Riccio
c256a4ed11
Added unaligned precision qualifiers
2016-06-09 20:12:33 +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
39e63661a6
Fixed STL for C++11 detection on ICC #510
2016-06-04 23:11:50 +02:00
Christophe Riccio
8848bc2a08
Fixed STL for C++11 detection on Intel compiler #510
2016-06-04 23:08:08 +02:00
Christophe Riccio
b54a256499
- Fixed strict aliaing warnings #473
2016-06-04 22:57:21 +02:00
Christophe Riccio
731a263325
Fixed bitcount build errors
2016-06-02 02:32:54 +02:00
Christophe Riccio
5fdca07eee
Clean up
2016-06-02 01:01:36 +02:00
Christophe Riccio
fd4ada5843
Support aligned *vec* even when SIMD isn't enabled
2016-06-02 00:33:55 +02:00
Christophe Riccio
b357636d0f
Fixed GCC build
2016-06-01 20:03:36 +02:00
Christophe Riccio
41984e42ab
Added GTC_type_aligned with aligned *vec* types
2016-06-01 00:43:35 +02:00
Christophe Riccio
64342f78bf
Updated version and updated readme
2016-05-30 20:28:42 +02:00
Christophe Riccio
89324cef0a
Fixed GCC build
2016-05-30 18:34:23 +02:00
Christophe Riccio
688756b3e2
SIMD matrix functions optimizations
2016-05-30 18:01:06 +02:00
Christophe Riccio
84caa1092f
Added SIMD integer operations optimizations
2016-05-30 15:38:47 +02:00
Christophe Riccio
1bbc2935a2
Added AVX bitCount optimization
2016-05-30 14:39:43 +02:00
Christophe Riccio
52f8ecd973
Added AVX optimizations and equal tests
2016-05-30 14:23:58 +02:00
Christophe Riccio
9ed2a9601b
Adde vec4 swizzle operators SIMD optimizations
2016-05-30 02:00:32 +02:00
Christophe Riccio
b9199a2c1a
Refactoring of swizzle operators, preparing for vec4 swizzle SIMD optimizations
2016-05-30 01:39:16 +02:00
Christophe Riccio
89f6da9552
Refactoring of low level SIMD API
2016-05-29 21:30:04 +02:00
Christophe Riccio
0722404fb6
Refactored low level SIMD API, refract SIMD optimization
2016-05-29 20:29:16 +02:00
Christophe Riccio
25b3c9f821
Fixed build
2016-05-29 19:16:42 +02:00
Christophe Riccio
28cb770d14
SIMD common functions optimizations
2016-05-29 19:14:39 +02:00
Christophe Riccio
2386237528
common function SIMD optimization
2016-05-29 17:58:53 +02:00
Christophe Riccio
e71c98c5eb
Fixed GCC build
2016-05-29 15:32:23 +02:00
Christophe Riccio
9e9ffe65f1
Fixed build
2016-05-29 15:28:54 +02:00
Christophe Riccio
340083edce
Add SIMD optimization for common functions
2016-05-29 15:08:34 +02:00
Christophe Riccio
20cf68679c
SIMD sqrt optimizations including lowp
2016-05-29 02:57:53 +02:00
Christophe Riccio
449c7ccedf
All the vec4 geometry functions have SIMD optimizations
2016-05-28 23:35:07 +02:00
Christophe Riccio
b5521ca7c2
All the vec4 geometry functions have SIMD optimizations
2016-05-28 23:29:15 +02:00
Christophe Riccio
6ea28c83ff
Fixed reflect for scalars...
2016-05-28 22:14:58 +02:00
Christophe Riccio
c8c298fef4
Added rect SIMD optimization
2016-05-28 22:09:30 +02:00
Christophe Riccio
f6810a9c0e
Added SIMD optimization for geometric functions
2016-05-28 21:51:38 +02:00
Christophe Riccio
fb66c79ca4
Added SIMD optimization for geometric functions
2016-05-28 20:17:34 +02:00
Christophe Riccio
29fa0f1607
Deprecated GLM_GTX_simd_mat4, GLM_GTX_simd_vec4 and GLM_GTX_simd_quat
2016-05-28 19:34:46 +02:00
Christophe Riccio
7fe2f5fe65
Renamed instruction set flags
2016-05-28 19:26:59 +02:00
Christophe Riccio
d33e3df02a
Fixed SIMD code path selection
2016-05-28 18:24:39 +02:00
Christophe Riccio
fdb985a0eb
Fixed SIMD code path selection
2016-05-28 18:15:35 +02:00
Christophe Riccio
d0e746e292
Fixed SIMD code path selection
2016-05-28 17:55:24 +02:00
Christophe Riccio
9f00ba86cb
Fixed SIMD code path selection
2016-05-28 17:54:37 +02:00
Christophe Riccio
ab159770b3
mad optimizations, fixed build
2016-05-28 17:12:48 +02:00
Christophe Riccio
fdec412ff7
Added FMA SIMD optimization
2016-05-28 12:31:43 +02:00
Christophe Riccio
71e6b537cc
Clarify support for SSSE3, SSE4.1 and SSE4.2
2016-05-28 11:52:41 +02:00
Christophe Riccio
0ee3a79bfd
Uniformalize low level SIMD API
2016-05-28 11:21:04 +02:00
Christophe Riccio
79894a58cc
Added NaN and Inf SIMD optimization
2016-05-28 03:09:22 +02:00
Christophe Riccio
1381a95938
Optimized dot SIMD implementation with SSE3
2016-05-28 02:46:06 +02:00
Christophe Riccio
9c6de96669
Specialized SIMD == and != operators
2016-05-28 02:16:56 +02:00
Christophe Riccio
a9fefc7300
Added vec4 SIMD contructor specialization
2016-05-28 01:33:29 +02:00
Christophe Riccio
c5f48da319
Fixed build with compiler that doesn't support GLM_HAS_UNRESTRICTED_UNIONS
2016-05-28 00:10:18 +02:00
Christophe Riccio
ae6082db5e
Added AVX2 bitwise optimization
2016-05-28 00:00:33 +02:00
Christophe Riccio
f577611328
Added bitwise inverse SIMD optimization. Factorized bitwise optimization code
2016-05-27 23:03:38 +02:00
Christophe Riccio
4797ea9540
Added specialized SSE2 and AVX bool mix
2016-05-26 02:47:43 +02:00
Christophe Riccio
72c741d8ea
Fixed sign with signed integer function on non-x86 architecture
2016-05-24 13:29:18 +02:00
Christophe Riccio
1208eb63f7
Added NEON, MIPS and PowerPC detection
2016-05-23 23:35:34 +02:00
Christophe Riccio
316460408a
Simplify and more consistency for files headers
2016-05-23 22:55:49 +02:00
Christophe Riccio
62d5e0ce45
Fixed build
2016-05-23 21:59:25 +02:00
Christophe Riccio
8b9d205178
Fixed build
2016-05-23 21:57:26 +02:00
Christophe Riccio
3f74efa2e0
Merge simd branch
2016-05-23 21:52:59 +02:00
Christophe Riccio
b87ead8304
Use unary bit operators for binary implementation
2016-05-23 21:47:35 +02:00
Christophe Riccio
3081b44ed2
Use unary bit operators for binary implementation
2016-05-23 21:45:08 +02:00
Christophe Riccio
d871d753dc
Use unary bit operators for binary implementation
2016-05-23 21:39:33 +02:00
Christophe Riccio
5e60c54004
Use unary % operator for binary implementation
2016-05-23 21:24:59 +02:00
Christophe Riccio
eab004bfe5
vec4 add, sub, mul and div binary operators use unary operators implementation
2016-05-23 21:20:04 +02:00
Christophe Riccio
276505f409
add, sub, mul and div vec4 for specialization
2016-05-23 21:13:57 +02:00
Christophe Riccio
2a4c7e77d6
Added Visual C++ Clang toolset detection
2016-05-23 19:29:36 +02:00
Christophe Riccio
74367aca3c
Added Visual C++ Clang toolset detection
2016-05-23 19:25:07 +02:00
Christophe Riccio
c0fc71803c
Integer SSE code generation
2016-05-23 01:54:55 +02:00
Christophe Riccio
ff74b87b48
Generate SSE instructions for sub, mul and div including lowp div
2016-05-23 00:34:59 +02:00
Christophe Riccio
0e780a5efd
- Use Cuda built-in function for abs function implementation with Cuda compiler
2016-05-22 18:04:32 +02:00
Christophe Riccio
cc9916b2c6
Fixed build, missing reference to inverse function
2016-05-22 17:28:18 +02:00
Christophe Riccio
6cf7389c8c
Removed the glm_dummy CMake target if glm_shared or glm_static are enabled
2016-05-22 17:20:56 +02:00
Christophe Riccio
757fe39587
Removed simd precision qualifier. All precision qualifiers may generate SIMD instructions, precision may affect the generated instructions accordingly
2016-05-22 17:12:32 +02:00
Christophe Riccio
93a2f03649
Merge branch '0.9.7'
2016-05-18 22:53:00 +02:00
Christophe Riccio
dcffcbdc97
Fixed GLM_FORCE_INLINE with binary vec4 operators
2016-05-18 22:52:47 +02:00
Christophe Riccio
792151573c
Fixed to_string when used with GLM_FORCE_INLINE #506
2016-05-18 22:46:58 +02:00
Christophe Riccio
fd06877778
Too big bug with GCC 4.6 constexpr, haven't tried 4.7, let's see how 4.8 does
2016-05-05 21:06:27 +02:00
Christophe Riccio
60a5f4aea9
Too big bug with GCC 4.6 constexpr, haven't tried 4.7, let's see how 4.8 does
2016-05-05 20:57:37 +02:00
Christophe Riccio
a6047251be
Fixed constexpr with SIMD interaction
2016-05-05 20:43:09 +02:00
Christophe Riccio
92a46735d6
Workaround GCC compiler bug with constexpr support
2016-05-05 20:05:31 +02:00
Christophe Riccio
71401d14aa
Workaround GCC compiler bug with constexpr support
2016-05-05 19:58:12 +02:00
Christophe Riccio
152c71abff
Workaround GCC compiler bug with constexpr support
2016-05-05 19:47:42 +02:00
Christophe Riccio
e8ff04aaec
- Added constexpr for *vec*, *mat*, *quat* and *dual_quat* types #493
2016-05-05 15:38:35 +02:00
Christophe Riccio
2a92b65239
- Added constexpr for *vec*, *mat*, *quat* and *dual_quat* types #493
2016-05-05 15:14:54 +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
33bc27ddc4
- Added constexpr for *vec*, *mat*, *quat* and *dual_quat* types #493
2016-05-05 14:03:20 +02:00
Christophe Riccio
3df1c8755c
- Added constexpr for *vec*, *mat*, *quat* and *dual_quat* types #493
2016-05-05 13:56:40 +02:00
Christophe Riccio
c50f3ed38e
- Added constexpr for *vec*, *mat*, *quat* and *dual_quat* types #493
2016-05-05 13:40:11 +02:00
Christophe Riccio
d0c4bbaef7
- Added constexpr for *vec*, *mat*, *quat* and *dual_quat* types #493
2016-05-05 13:27:26 +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
20da5a25db
Improved OpenMP support detection for Clang, GCC, ICC and VC
2016-05-04 18:04:44 +02:00
Christophe Riccio
ca3abd6e93
Fixed CUDA support #499 , #500 , #501
2016-05-04 17:05:02 +02:00
Christophe Riccio
13a997d4e1
Fixed CUDA support #499 , #500 , #501
2016-05-04 17:03:38 +02:00
Christophe Riccio
affd5f3ba0
Fixed CUDA compiler error in type_vec4.inl #504
2016-05-04 16:35:57 +02:00
Christophe Riccio
1f71f6fb3a
Improved SIMD and swizzle operators interactions with GCC and Clang, Added raw SIMD API.
2016-05-03 23:57:41 +02:00
Christophe Riccio
1becd76c5f
Fixed build
2016-05-01 12:39:16 +02:00
Christophe Riccio
83999c749a
Reorganized SIMD code
2016-05-01 12:29:11 +02:00
Christophe Riccio
96963f88cc
Single file for simd specialization
2016-05-01 05:00:13 +02:00
Christophe Riccio
5f05a5e953
Clean up inverse SSE code
2016-05-01 03:42:47 +02:00
Christophe Riccio
a90ef1b45e
Fixed warning
2016-05-01 01:31:43 +02:00
Christophe Riccio
b53cc5d098
Fixed build on non-VC compilers
2016-05-01 01:26:42 +02:00
Christophe Riccio
2f9fc55d88
More experiments to improve SIMD support
2016-05-01 01:12:22 +02:00
Christophe Riccio
306b409658
Fixed merge
2016-04-30 16:28:20 +02:00
Christophe Riccio
e9bb34fb78
- Fixed Visual C++ SIMD instruction set automatic detection in 64 bits
2016-04-30 16:27:19 +02:00
Christophe Riccio
8cf76f049b
Fixed Visual C++ SIMD instruction set automatic detection in 64 bits
2016-04-30 16:23:55 +02:00
Christophe Riccio
07a5d27047
Merge branch 'type_trait'
2016-04-30 15:00:46 +02:00
Christophe Riccio
939eb940d4
Renamed GLM_RESTRICT, still unused in the code base
2016-04-30 15:00:37 +02:00
Christophe Riccio
a6b3632257
Use GLM coding convensions
2016-04-30 14:59:56 +02:00
Christophe Riccio
e913a9c68b
Fixed GCC build
2016-04-30 02:07:16 +02:00
Christophe Riccio
23ab8137f9
Fixed GTX_type_trait linking
2016-04-30 01:59:46 +02:00
Christophe Riccio
01fa13380d
Merge branch 'master' of https://github.com/regnirpsj/glm into type_trait
2016-04-29 23:29:09 +02:00
Christophe Riccio
6558df25e8
Merge branch 'jtg/type-traits-size' of https://github.com/JesseTG/glm into type_trait
2016-04-29 23:26:13 +02:00
Christophe Riccio
b3cae39ea6
Merge 0.9.7
2016-04-29 17:37:27 +02:00