Commit Graph

2961 Commits

Author SHA1 Message Date
Patrik Huber
626aa4abad Merge branch 'master' into fix-tvec-copy-cpp11 2016-08-18 21:11:51 +01:00
Patrik Huber
56917bf17c Removed use of =default for vector types
Defaulting the copy constructor and copy assignment operators causes compiler errors when the type T is not trivially copyable. In that case, explicitly defined copy ctor and assignment are required. This PR removes the #ifdefs around the existing operators, so they're always used.
2016-08-18 00:01:41 +01:00
Christophe Riccio
bf88ae130d Merge branch '0.9.8' 2016-08-18 00:59:07 +02:00
Christophe Riccio
ad262c3592 Udpated readme with fixed mat3_cast #542 2016-08-18 00:58:58 +02:00
Christophe Riccio
300f8e965a Merge branch '0.9.8' 2016-08-18 00:54:35 +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
Christophe
c54714da59 Merge pull request #542 from patrikhuber/fix-quaternion-typeconversion
Convert integers to type T in quaternion mat3_cast() #542
2016-08-18 00:49:16 +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
7f4ad7524a Merge branch '0.9.8' 2016-08-09 20:07:55 +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
31c83cc5c8 Merge branch '0.9.8' 2016-08-09 20:06:00 +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
0a032d0314 Merge branch '0.9.8' 2016-08-07 12:44:04 +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
Christophe Riccio
897a5af243 Merge branch 'master' of https://github.com/g-truc/glm 2016-08-06 18:32:05 +02:00
Christophe Riccio
54057ebda0 Merge branch '0.9.8' 2016-08-06 18:31:15 +02:00
Christophe Riccio
f1cfd55da0 Fixed code sample #531 2016-08-06 18:28:41 +02:00
Christophe
8e8edcfb8d Merge pull request #527 from IndiumGames/pedantic
Change -pedantic to -Wpedantic #527
2016-07-20 23:01:53 +02:00
Sami Kankaristo
f4103fe7f8 Change -pedantic to -Wpedantic 2016-07-20 21:26:45 +03:00
Christophe Riccio
27a25cb6a8 Merge branch '0.9.8' 2016-07-17 22:37:28 +02:00
Sami Kankaristo
63dcf6ad77 Fix #ifdef (had old name) 2016-07-17 22:37:10 +02:00
Christophe
dcb6a006ca Merge pull request #526 from IndiumGames/fix-define-name
Fix #ifdef (had old name) #526
2016-07-17 22:30:10 +02:00
Sami Kankaristo
c784051948 Fix #ifdef (had old name) 2016-07-17 21:01:57 +03:00
Christophe Riccio
3f7630a7af Merged GLM 0.9.8 branch 2016-07-17 11:54:55 +02:00
Christophe Riccio
a3b7bf46e7 Ignore long long warning with C++98 tests 2016-07-17 11:53:47 +02: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
4ab9776756 Fixed build error 2016-07-17 03:43:56 +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