Commit Graph

2927 Commits

Author SHA1 Message Date
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
ebafd8e82d Fixed aligned type build on Visual C++ 2013 and older compiler #539 2016-08-11 00:41:38 +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
8fbec7f28e Fixed Clang detection #537 2016-08-08 11:45:30 +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
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
edc328c7c9 Fixed GTX_wrap #534, improved GTX_wrap for SIMD friendliness 2016-08-06 19:28:16 +02:00
Christophe Riccio
f1cfd55da0 Fixed code sample #531 2016-08-06 18:28:41 +02:00
Sami Kankaristo
63dcf6ad77 Fix #ifdef (had old name) 2016-07-17 22:37:10 +02:00
Christophe Riccio
a3b7bf46e7 Ignore long long warning with C++98 tests 2016-07-17 11:53:47 +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
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
71004231c6 Updated readme 2016-07-17 01:13:38 +02:00
Christophe Riccio
dc89797275 - Added quaternion version of isnan and isinf #521 2016-07-17 01:02:30 +02:00
Christophe Riccio
21a9d4ce18 Fixed GLM test '/fp:fast' and '/Za' command-line options are incompatible 2016-07-17 00:00:07 +02:00
Christophe Riccio
7eb0adb7a5 Clean up 2016-07-16 23:41:50 +02:00
Christophe Riccio
08a7fc698e Updated 0.9.8 readme URL 2016-07-16 23:20:33 +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
dff3af56a8 GLM 0.9.7.6 release 2016-07-16 20:20:38 +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