Commit Graph

1870 Commits

Author SHA1 Message Date
Christophe Riccio
bdd723ed3b Updated deprecated compilers 2014-11-27 23:42:35 +01:00
Christophe Riccio
cdd36afdc1 Fixed build 2014-11-26 00:33:24 +01:00
Christophe Riccio
3f48ffefb0 Updated license 2014-11-26 00:27:12 +01:00
Christophe Riccio
c273be264c More fixes for doxygen 2014-11-25 01:08:52 +01:00
Christophe Riccio
3aa3da0727 Deleted dead files 2014-11-25 00:58:36 +01:00
Christophe Riccio
d276bf3b98 Doxygen fixes 2014-11-25 00:56:37 +01:00
Christophe Riccio
4f5bd21a5e Doxygen doc fixes 2014-11-25 00:16:03 +01:00
Christophe Riccio
3c0b3c4009 Merge pull request #275 from plasmacel/master
add explicit matrix conversion operators to quat #275
2014-11-24 21:37:20 +01:00
Christophe Riccio
e8fbcf76dd Optimizations of log2 for ivec4 2014-11-24 01:56:36 +01:00
plasmacel
017e97d554 Update quaternion.inl 2014-11-24 01:34:36 +01:00
plasmacel
36075c4994 Update quaternion.hpp 2014-11-24 01:33:29 +01:00
plasmacel
4581d25ec9 Update quaternion.inl 2014-11-24 01:16:07 +01:00
plasmacel
3b3dcd7d03 Update quaternion.hpp 2014-11-24 01:10:21 +01:00
Christophe Riccio
117634c7ea Fixed GCC build issue on new alignment types. More simd stuff to vec4 2014-11-23 22:13:22 +01:00
Christophe Riccio
bddce172f7 Fixed Clang and LLVM detections 2014-11-23 21:14:08 +01:00
Christophe Riccio
97182990a7 Move GTC_type_aligned to GTX extensions 2014-11-23 21:00:17 +01:00
Christophe Riccio
7621a735a3 Move GTC_type_aligned to GTX extensions 2014-11-23 20:58:09 +01:00
Christophe Riccio
c79394b899 More tests and comments for type_aligned 2014-11-23 20:44:54 +01:00
Christophe Riccio
9b96b31f0e Fixed alignment on Visual C++ 2014-11-23 13:20:14 +01:00
Christophe Riccio
5d95353dd0 Added missing types 2014-11-23 13:15:24 +01:00
Christophe Riccio
411511ca71 Completed GTC_type_aligned #266 #257 2014-11-23 12:54:44 +01:00
Christophe Riccio
b062bd9ff2 First step to add GTC_type_aligned 2014-11-23 01:02:03 +01:00
Christophe Riccio
246609b453 Fix build 2014-11-22 23:26:18 +01:00
Christophe Riccio
011a056267 Added AVX2 detection for GLM tests 2014-11-22 22:31:44 +01:00
Christophe Riccio
34a98b5220 Fixed build 2014-11-22 20:33:36 +01:00
Christophe Riccio
3135560336 Updated built-in 2014-11-22 20:30:40 +01:00
Christophe Riccio
0bffce4f4b Optimized findMSB and findLSB 2014-11-22 20:14:48 +01:00
Christophe Riccio
20bdab33dd Branch free refract and reflect 2014-11-22 00:37:08 +01:00
Christophe Riccio
582ea579a3 Fixed sign for unsigned types #271 2014-11-22 00:03:39 +01:00
Christophe Riccio
38161f01f8 Further optimized glm::sign for signed and unsigned int #271 2014-11-21 23:43:48 +01:00
Christophe Riccio
f98f2b107a Merge branch 'GTC_integer' 2014-11-21 22:50:00 +01:00
Christophe Riccio
826ce5c0d2 Fixed multiline comment warning comment #273 2014-11-21 22:20:45 +01:00
Christophe Riccio
b944e3a990 Merge pull request #272 from plasmacel/master
optimized cot function implementation #272
2014-11-21 22:15:38 +01:00
Christophe Riccio
afd58dcdc5 Used std features within GLM without redeclaring 2014-11-21 22:13:04 +01:00
plasmacel
7e3dc0ae16 format fix 2014-11-21 04:30:56 +01:00
plasmacel
e637299192 implement cot as tan(pi/2 - angle) 2014-11-21 04:29:35 +01:00
Christophe Riccio
b0b84a3dc1 Optimized sign for vector types #271 2014-11-21 00:50:47 +01:00
Christophe Riccio
883d328fb8 Merge branch 'master' into GTC_integer 2014-11-20 23:39:07 +01:00
plasmacel
7def337781 Update func_common.inl 2014-11-20 15:33:28 +01:00
Christophe Riccio
4f4763600f Added log2 to GTC_integer 2014-11-19 23:09:02 +01:00
Christophe Riccio
5b911d1eb0 Fixed float comparison warnings #270 2014-11-19 01:12:24 +01:00
Christophe Riccio
88894045af Added integer log2 test 2014-11-19 00:40:45 +01:00
Christophe Riccio
2d50df61c3 Initial structure for GTC_integer 2014-11-17 23:56:41 +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
9c62eee507 Added GLM_FORCE_EXPLICIT_CTOR 2014-11-17 21:40:17 +01:00
Christophe Riccio
4e95519396 Fixed test with VC and disabled lang extension 2014-11-16 18:18:11 +01:00
Christophe Riccio
bcd33a89df Fixed build issue 2014-11-16 18:09:32 +01:00
Christophe Riccio
066bd1b1c1 Deleted unused file 2014-11-16 17:01:02 +01:00
Christophe Riccio
31cee181d1 Updated GTC extension list 2014-11-16 17:00:17 +01:00
Christophe Riccio
bc5fe52a44 Removed empty GTC_integer 2014-11-16 16:42:47 +01:00
Christophe Riccio
f8729cd4fa Fixed build on VC2010 2014-11-16 01:15:04 +01:00
Christophe Riccio
2d48d922bd Updated VC support compilers list 2014-11-16 01:12:18 +01:00
Christophe Riccio
8d9c4596b3 Added GLM_HAS_MAKE_SIGNED for C++11 support of make_(un)signed 2014-11-15 23:31:13 +01:00
Christophe Riccio
de5dd23d2f Updated make_signed and make_unsigned for Clang fixes 2014-11-15 23:12:20 +01:00
Christophe Riccio
18b8e2fd4a Fixed Clang warnings 2014-11-15 23:03:53 +01:00
Christophe Riccio
72cbc4c065 Fixed uaddCarray and updated tests #253 2014-11-15 22:31:08 +01:00
Christophe Riccio
b90c4c430e Added GLM_HAS_TRIVIAL_QUERIES define 2014-11-15 21:59:46 +01:00
Christophe Riccio
30e7eaeb86 Clean up 2014-11-15 21:37:59 +01:00
Christophe Riccio
45645988e9 Fixed uaddCarray #253. Fixed GCC build errors. 2014-11-15 21:32:56 +01:00
Christophe Riccio
5960196ce8 Clean up white spaces, fix build with VC15 2014-11-15 20:36:53 +01:00
Christophe Riccio
6eb5529395 Clean up 2014-11-15 20:11:38 +01:00
Christophe Riccio
372d75dbe8 Clean up 2014-11-15 19:16:58 +01:00
Christophe Riccio
991427f671 Clean up 2014-11-15 19:15:34 +01:00
Christophe Riccio
1dea9c5e34 Clean up 2014-11-15 19:13:25 +01:00
Christophe Riccio
85a6c8fc08 Avoid useless initialization 2014-11-15 19:00:06 +01:00
Christophe Riccio
6a50a87a75 Clean up 2014-11-15 18:58:59 +01:00
Christophe Riccio
0b39c3b911 Clean up 2014-11-15 18:54:29 +01:00
Christophe Riccio
9914308726 Clean up 2014-11-15 18:45:13 +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
cfce5f436c Merge more precision for fastCos and fastSin #264 2014-11-14 21:28:58 +01:00
Christophe Riccio
c1f47f4c7d Fixed distance function return type #267 2014-11-14 21:03:14 +01:00
Christophe Riccio
c36f3630eb Fixed glm::mask function and tests 2014-11-14 02:01:46 +01:00
Christophe Riccio
a604ebdaa5 Fixed build 2014-11-13 00:08:13 +01:00
Christophe Riccio
2df3bf71cc Merge branch 'trivial' into bitfield 2014-11-12 23:11:32 +01:00
Christophe Riccio
062ee19ac7 Fixed bitfieldInsert and bitfieldExtract 2014-11-12 22:48:15 +01:00
Christophe Riccio
f09888a090 Reverse #257, breaking many vec4 types size (i8vec4, u16vec4 etc) 2014-11-12 21:20:17 +01:00
Christophe Riccio
ee84420f6c All *mat* types are copyable #263 2014-11-10 01:16:48 +01:00
Christophe Riccio
838bdee3c3 All *vec* types are copyable #263 2014-11-10 00:04:47 +01:00
Mathias Labeyrie
72a5de2320 branchless wrapAngle 2014-11-05 13:57:32 +01:00
Mathias Labeyrie
b38a8b4e5a rename three_half_pi() => three_over_two_pi() 2014-11-05 13:51:16 +01:00
Mathias Labeyrie
710e13a8e6 Much more precise fastCos and fastSin
fastCos and fastSin had a max error of ~0.2 on [-pi pi].
The updated version is ~0.000007.
2014-11-05 11:12:52 +01:00
Mathias Labeyrie
b0c1777b57 More constants related to pi 2014-11-05 11:12:36 +01:00
Christophe Riccio
a2a6037ba5 More std trivial experiments #263 2014-11-04 01:06:16 +01:00
Christophe Riccio
931e72b456 Initial std trivial experiments #263 2014-11-04 00:52:16 +01:00
Christophe Riccio
6f3765d281 First draft of GTC_round 2014-11-04 00:06:20 +01:00
Christophe Riccio
377d5a4046 Optimized bitCount function 2014-11-02 23:48:02 +01:00
Christophe Riccio
afb1f6d152 Optimized bitfieldReverse 2014-11-02 20:48:59 +01:00
Christophe Riccio
41c00872a1 Fixed GCC build 2014-11-01 23:35:10 +01:00
Christophe Riccio
8a882ffdf1 Clean up old workaround 2014-11-01 13:44:34 +01:00
Christophe Riccio
7fb56a2daa Clean up dead code 2014-11-01 03:06:30 +01:00
Christophe Riccio
f2996fc3fd Clean up dead code 2014-11-01 03:03:36 +01:00
Christophe Riccio
23d2735e03 Updated GTX_multiple 2014-11-01 03:00:42 +01:00
Christophe Riccio
4b4b6f6cac Removed macros 2014-11-01 01:44:37 +01:00
Christophe Riccio
86eae996e4 Removed VECTORIZE_VEC for GTX 2014-11-01 00:21:10 +01:00
Christophe Riccio
1cd48f1523 Use template instanciation 2014-10-31 01:52:38 +01:00
Christophe Riccio
c5776a725e Merge branch 'master' into vectorize 2014-10-31 01:33:12 +01:00
Christophe Riccio
fc253a0e5b Fixed Visual C++ 10 build 2014-10-31 01:29:38 +01:00
Christophe Riccio
1331e156cb Fixed non C++11 build 2014-10-31 01:26:00 +01:00
Christophe Riccio
08b9197c6a Fixed build 2014-10-30 23:46:13 +01:00
Christophe Riccio
5f60ff6d78 Fixed build 2014-10-30 23:38:44 +01:00
Christophe Riccio
97e4fd1025 Code style clean up 2014-10-29 10:30:48 +01:00
Christophe Riccio
abb5299e08 Fixed warnings with -pedantic 2014-10-29 10:28:25 +01:00
Christophe Riccio
9fe8bc1f66 Fixed build 2014-10-29 08:30:18 +01:00
Christophe Riccio
445a388817 Merge 2014-10-29 08:18:53 +01:00
Christophe Riccio
e8923c9bca Fixed bad matrix-vector performance in Cuda #257, #258 2014-10-29 00:42:59 +01:00
Christophe Riccio
dced21e745 Added multiple 'sign' implementations for integers, unit tests and performancetests. 2014-10-29 00:18:41 +01:00
Christophe Riccio
44382faf59 Improve mask implementation to support any integer and vector types 2014-10-28 20:28:26 +01:00
Christophe Riccio
a88d8935be Updated ceilPowerOfTwo for signed int support 2014-10-27 23:02:47 +01:00
Christophe Riccio
3420d691f5 Added findLSB tests, faster ceilPowerOfTwo 2014-10-27 20:47:00 +01:00
Christophe Riccio
031eb13341 Added powerOfTwo functions 2014-10-27 19:13:16 +01:00
Christophe Riccio
0de2f5c587 Added powerOfTwo functions 2014-10-27 19:07:23 +01:00
Christophe Riccio
f09d1fd3d4 Fix build 2014-10-27 13:44:30 +01:00
Christophe Riccio
097c1f7b90 Updated GTC_integer 2014-10-26 20:34:10 +01:00
Christophe Riccio
d3b368b65c Added GTC_integer, deprecated GTX_bit 2014-10-26 19:22:19 +01:00
Christophe Riccio
69274e740c Promoted bitfieldRotate[Right|left] and bitfieldFill[zero|one] 2014-10-26 17:31:49 +01:00
Christophe Riccio
8dd3ec02ea Removed bitRevert, duplicated of bitfieldReverse 2014-10-26 16:56:31 +01:00
Christophe Riccio
45c4fbeb65 Fixed build 2014-10-26 00:54:36 +02:00
Christophe Riccio
087d6292e3 Added GTC_bitfield extension, promoted GTX_bit 2014-10-26 00:22:08 +02:00
Christophe Riccio
0c522117c8 Opimization of mask, bitfieldInsert, bitfieldExtract and bitCount 2014-10-25 21:16:49 +02:00
Christophe Riccio
eb915ed808 Fixed frac and added more roundEven tests 2014-10-25 14:30:43 +02:00
Christophe Riccio
f70ee7ef28 Vectorize many common functions 2014-10-25 00:08:10 +02:00
Christophe Riccio
50cead0793 Vectorize outerProduct 2014-10-24 22:14:17 +02:00
Christophe Riccio
cb8250c20b Fixed unitilized constructor on MacOSX 2014-10-24 21:30:11 +02:00
Christophe Riccio
bf9e4458b6 Added not function 2014-10-24 21:22:24 +02:00
Christophe Riccio
72a2f49834 More integer vectorization 2014-10-24 02:46:59 +02:00
Christophe Riccio
0274cb6e58 Fix build 2014-10-23 22:17:58 +02:00
Christophe Riccio
3344c8e9a0 Fixed build error 2014-10-22 16:03:44 +02:00
Christophe Riccio
7cd21032d3 Fixed Clang compiler detection 2014-10-22 16:01:55 +02:00
Christophe Riccio
44a734d93a Fixed build 2014-10-22 15:58:13 +02:00
Christophe Riccio
679c765a07 vectorize bitfieldExtract 2014-10-21 03:08:32 +02:00
Christophe Riccio
2179695e02 Added usubBorrow tests 2014-10-21 01:40:42 +02:00
Christophe Riccio
fcfc56d5e3 Vectorization of usubBorrow and umulExtended, simplified vector relational code 2014-10-21 01:32:45 +02:00
Christophe Riccio
c23cb8cd59 Added GLM_NEVER_INLINE 2014-10-20 21:34:56 +02:00
Christophe Riccio
4fc68ffe49 Replace function instanciations with macros by templates 2014-10-20 03:26:59 +02:00
Christophe Riccio
47a6947736 Make detail::functor1 capable to return a different argument value_type than the argument value_type 2014-10-20 02:22:53 +02:00
Christophe Riccio
bf08a0e234 Replace function instanciations with macros by templates 2014-10-20 02:03:48 +02:00
Christophe Riccio
0042517167 Replace function instanciations with macros by templates 2014-10-20 00:34:59 +02:00
Christophe Riccio
0acc67df40 Hide into detail namespace SIMD internal 2014-10-19 18:28:53 +02: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
0813facc58 Updated compiler detection code 2014-10-18 22:43:15 +02:00
Christophe Riccio
d298b34c19 Add detail namespace for number_of_elements 2014-10-18 13:23:05 +02:00
Christophe Riccio
14d86e5718 Removed unsupported compiler defines 2014-10-18 13:20:05 +02:00
Christophe Riccio
327c7917fb Fixed cases of unspecialized simd 2014-10-18 02:34:20 +02:00
Christophe Riccio
8a1bf4410b Completed GTC_vec1 2014-10-15 02:53:46 +02:00
Christophe Riccio
6d1610ce0d Fixed swizzle operators with anonymous unions code path 2014-10-13 22:48:11 +02:00
Christophe Riccio
19e239d466 Fixed core_setup_message test with Visual C++ 2014-10-12 20:57:41 +02:00
Christophe Riccio
85037a164f Fixed GLM_FORCE_SIZE_FUNC and added test #245 2014-10-12 20:50:50 +02:00
Christophe Riccio
b2ce1a726b Clean up formatting for components and swizzle code 2014-10-12 19:58:46 +02:00
Christophe Riccio
093b8042f7 Fixed build 2014-10-12 17:24:02 +02:00
Christophe Riccio
857e7f5075 Fixed build 2014-10-12 02:52:19 +02:00
Christophe Riccio
893de94bb1 Fixed build 2014-10-12 02:51:34 +02:00
Christophe Riccio
e6a890454d Fixed lack of consistency of quat and dualquat constructors 2014-10-12 02:32:32 +02:00
Christophe Riccio
284ba46dae Fixed spaces 2014-10-12 02:32:04 +02:00
Christophe Riccio
8cb9328e11 Additional fix for GLM_FORCE_SIZE_FUNC #245 2014-10-12 02:11:02 +02:00
Christophe Riccio
d06db1133d Updated GTX_associated_min_max with vec1 support 2014-10-12 02:05:27 +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
Christophe Riccio
2df7addc05 Fixed build errors #250 2014-10-11 21:53:53 +02:00
Christophe Riccio
b3b3069491 Updated preprocessor options 2014-10-11 21:04:12 +02:00
Christophe Riccio
75939a7960 Fixed GTX_string_cast to support for integer types #249 2014-10-10 01:21:04 +02:00
Christophe Riccio
ca4ed31fb6 Fixed *vec1 scalar constructor 2014-10-06 23:35:26 +02:00
Christophe Riccio
3556f4ad85 Clean up 2014-10-06 23:06:34 +02:00
Christophe Riccio
291708ce07 Added GLM_FORCE_SIZE_FUNC to replace .length() by .size() #245 2014-10-05 22:12:25 +02:00
Christophe Riccio
03a01880b0 Clean up move and initialiazer lists experiments 2014-10-05 20:06:35 +02:00
Christophe Riccio
f9484a6e9f - Moved template types from 'detail' to 'glm' namespace #239, #244 2014-10-05 19:37:07 +02:00
Christophe Riccio
38399875f4 Merge pull request #238 from SiliconKiwi/patch-1
Closest point algorithm can be easily extended to support 2d points #238
2014-10-05 16:09:10 +02:00
Christophe Riccio
0684a5e2c6 GTX_range is only available for C++11 compilers #240 2014-10-05 14:42:17 +02:00
Christophe Riccio
7ab7d4beb8 Merge pull request #240 from Jaxan/range
Range support #240
2014-10-05 14:24:19 +02:00
Christophe Riccio
a00fc3fdf4 Enable only GLM_GTX_scalar_multiplication for C++11 compiler #242 2014-10-05 13:26:02 +02:00
Christophe Riccio
36af05b775 Merge pull request #242 from Jaxan/scalars
Scalar multiplication #242
2014-10-05 12:11:04 +02:00
Christophe Riccio
1e389f8efa Fixed implicit conversion from another tvec2 type to another tvec2 #241 2014-10-05 10:34:19 +02:00
Joshua Moerman
62ac07815c Adds scalar multiplication for all types 2014-09-22 10:03:18 +02:00
Joshua Moerman
77c704e210 Adds range support 2014-09-19 16:27:23 +02:00
Joshua Moerman
72a6f35a8e Fixes typo 2014-09-19 15:08:26 +02:00
Christophe Riccio
a08aca94f3 Progress on vec1 support 2014-09-16 02:31:07 +02:00
SiliconKiwi
b5409fb728 Update closest_point.inl 2014-09-16 09:11:34 +12:00
SiliconKiwi
ad85092433 Update closest_point.hpp
Algorithm works fine with 2d points as well...
2014-09-16 09:09:39 +12:00
Christophe Riccio
ec513f4466 Added GTX_common with isdenomal #223 2014-09-07 20:53:35 +02:00
Christophe Riccio
cccf2af0a2 Added vec3 slerp (#237) 2014-09-07 20:06:59 +02:00
Christophe Riccio
0d42f4a320 Added vec3 slerp #237 2014-09-07 19:56:24 +02:00
Christophe Riccio
4649717f45 Fixed GCC build #228 2014-09-07 18:32:00 +02:00
Christophe Riccio
3d399aaaca Remove useless std::move, #219 2014-09-07 17:14:39 +02:00
Christophe Riccio
0613b5c0f1 Limited extended integer type redifinition (#233) 2014-09-07 01:17:20 +02:00
Christophe Riccio
bfa893b957 Fixed signed integer and float linearRand results #230 2014-09-07 00:57:21 +02:00
Christophe Riccio
5f7862ebec Improved linearRand: support precision and integers (#230) 2014-09-06 21:52:51 +02:00
Christophe Riccio
e419448539 Fixed compile problems with glm::max( vec, int ) #232 2014-09-06 02:24:50 +02:00
Christophe Riccio
ac3c2e37f1 Rely on STL functions for GLM functions using the same prototype #233 2014-09-06 01:45:13 +02:00
Christophe Riccio
4a701c6760 Limited extended integer type redifinition (#233) 2014-09-01 04:27:55 -04:00
Christophe Riccio
90acd7236d Merge branch '0.9.5' 2014-08-31 22:28:21 -04:00
Christophe Riccio
041276c93d Fix 'nextafter*' for android build issue. #217 2014-08-31 22:25:40 -04:00
Christophe Riccio
a614e5da63 Merge branch '0.9.5' of https://github.com/g-truc/glm into 0.9.5 2014-08-31 22:18:39 -04:00
Christophe Riccio
eabeb0471b Merge branch '0.9.6' 2014-08-31 18:37:14 -04:00
Christophe Riccio
67c62d8b1c Merge branch '0.9.6' of https://github.com/g-truc/glm into 0.9.6 2014-08-31 18:12:53 -04:00
Christophe Riccio
3b7aadc2e3 Added initial commit for GLM_GTX_matrix_decompose #227 2014-08-31 18:12:38 -04:00
Christophe Riccio
f916339ca7 Rely on C++11 to implement isinf and isnan 2014-08-04 01:18:34 +02:00
Christophe Riccio
96ef6ae9ba Fixed infinite loop in isfinite function with GCC #221 2014-08-04 01:00:49 +02:00
Christophe Riccio
2b747cbbad Removed last references to GLM_FORCE_RADIANS 2014-08-04 00:10:12 +02:00
Christophe Riccio
fa6bec2f3d Added swizzle contructor tests 2014-08-03 23:40:45 +02:00
Christophe Riccio
a0743f94aa Added full tvec1 support to tvec2 2014-07-29 02:42:18 +02:00
Christophe Riccio
d722b398c9 Added scalar conversion constructor 2014-07-28 22:08:09 +02:00
Christophe Riccio
666475a84c Fixed VC14 compiler warnings 2014-07-18 00:59:07 +02:00
Christophe Riccio
cff845c2b4 Use pragma once 2014-07-14 01:48:27 +02:00
Christophe Riccio
7659e901c9 Fixed merge with 0.9.5 2014-06-28 21:26:24 +02:00
Christophe Riccio
d84fa89cb8 Fixed missing value_type for dual quaternion, Fixed return type of dual quaternion length 2014-06-28 21:08:53 +02:00
Christophe Riccio
9a3f42279b - Fixed std::nextafter not supported with C++11 on Android #213 2014-06-28 20:56:12 +02:00
Christophe Riccio
7459161364 Updated revision fornext release 2014-06-28 20:45:45 +02:00
Christophe Riccio
6f59e64a55 Use C++ cast 2014-06-22 02:03:31 +02:00
Christophe Riccio
24cd06552c Fixed GLM_GTX_io coding style 2014-06-21 16:23:06 +02:00
Christophe Riccio
694416701a Replaced C casts by C++ casts 2014-06-21 15:42:10 +02:00
Christophe Riccio
9b6eecc739 Fixed corner cases in exp and log functions for quaternions #199 2014-06-21 15:38:49 +02:00
Christophe Riccio
08ff93925f Fixed std::nextafter not supported with C++11 on Android #213 2014-06-21 15:07:03 +02:00
Christophe Riccio
2b38221f80 Fixed build 2014-06-21 14:02:51 +02:00
Christophe Riccio
b69356cadb Resolve aliasing issues #152, #212 2014-06-21 07:41:30 -04:00
Christophe Riccio
16124f0742 Removed useless references 2014-06-21 07:25:52 -04:00
Groove
b025413a2d Resolve aliasing issue 2014-06-21 07:04:55 -04:00
Christophe Riccio
f32cab2842 Remove useless references 2014-06-21 13:01:54 +02:00
Christophe Riccio
f310f941c6 Fixed strict aliasing issues #212 2014-06-21 12:14:39 +02:00
Christophe Riccio
103a74f7e1 clean up 2014-06-21 11:53:28 +02:00
Christophe Riccio
3651530ff0 Fixed build 2014-06-21 11:50:42 +02:00
Christophe Riccio
7097e4c7c8 Fixed tweakedInfinitePerspective #208 and added user-defined epsilon to tweakedInfinitePerspective 2014-06-20 22:13:06 +02:00
Christophe Riccio
ae026e64d3 Merge 0.9.5 2014-06-20 20:10:12 +02:00
Christophe Riccio
7fe8a1944c Fixed fastDistance ambiguity #215 2014-06-20 01:09:50 +02:00
Christophe Riccio
c440b9515a Merge io for GLM types #144 2014-06-15 22:52:23 +02:00
Christophe Riccio
a1a861a4a6 Merge pull request #210 from moushkka/0.9.5
Fixed linear interpolation when cosTheta is close to 1 in quaternion slerp #210
2014-06-12 19:27:22 +02:00
Christophe Riccio
c506b43d49 Quaternion vector rotation error. #209 2014-06-12 00:29:56 +02:00
Christophe Riccio
ea45a7b966 Fixed orientate3 function #207 2014-06-11 22:47:37 +02:00
Christophe Riccio
c3c180559a Fixed instruction set detection with Clang #158 2014-06-11 16:56:16 +02:00
Joel Nises
e610e9446e fixed bug in quaternion slerp 2014-06-05 17:48:53 +02:00
Florian Euchner
f8fa1513fa Fix missing @endcond 2014-05-24 17:07:52 +02:00
Christophe Riccio
4da58d88d4 Optimized Quaternion vector rotation #205 2014-05-23 23:09:32 +02:00
Christophe Riccio
a2f4df2b1d Fixed builtin GLM_ARCH_SSE4 #204 2014-05-23 22:23:27 +02:00
Christophe Riccio
7b03f18e32 Merge pull request #201 from dachziegel/0.9.5
added GLM_FUNC_QUALIFIER to be able to use in CUDA #201
2014-05-06 23:21:27 +02:00
Christophe Riccio
affd405b37 Fixed glm::isinf and glm::isnan for with Android NDK 9d #191, take 2 2014-05-06 22:45:18 +02:00
Christophe Riccio
e04ded9e39 Fixed glm::isinf and glm::isnan for with Android NDK 9d #191 2014-05-05 23:08:49 +02:00
dachziegel
d19766fcbf added GLM_FUNC_QUALIFIER to be able to use in CUDA 2014-05-05 13:45:36 +02:00
Christophe Riccio
842cea8747 Merge 0.9.5 2014-05-04 21:07:05 +02:00
Christophe Riccio
a2b70690c1 Added test gor issue #199 2014-05-04 17:34:34 +02:00
Christophe Riccio
d77bfa1a70 Fixed GTX_color_space - saturation #195 2014-05-04 17:20:40 +02:00
Christophe Riccio
0cbef584e3 Merge pull request #189 from rleigh-dundee/cmake-install
cmake: Several fixes to the build system #189
2014-05-04 16:51:43 +02:00
Christophe Riccio
9a3d7a115c Fixed build error #190 2014-05-04 16:47:06 +02:00
Christophe Riccio
e5ee35323a Fixed non-utf8 character #196 2014-05-04 16:34:46 +02:00
jan p springer
9ecc30c5dd added: missing value_type typedef 2014-04-15 18:37:34 +01:00
Roger Leigh
34bd28e8c6 cmake: Don't build tests when not testing 2014-04-15 10:46:45 +01:00
jan p springer
37e5868200 fixed: warning wrt. strict aliasing on gcc 4.8.2/clang3.3 2014-04-14 00:13:20 +01:00
jan p springer
ae691ce39a commented out already declred types (in glm/fwd.hpp) 2014-04-14 00:12:38 +01:00
jan p springer
478dc697ff fixed: compile problems w/ non-existent header files 2014-04-14 00:11:25 +01:00
Christophe Riccio
10778448ef Fixed merge 2014-04-02 01:31:36 +02:00
Christophe Riccio
6c22a0b82f Updated version for 0.9.5.4 2014-04-02 01:23:19 +02:00
Christophe Riccio
682979ddd8 Fixed next_float for double and fixed ULP tests 2014-04-01 23:58:41 +02:00
Christophe Riccio
90ad883d9e Added glm.g-truc.net code samples 2014-04-01 22:38:43 +02:00
Christophe Riccio
a5d2a63ef3 - Added workaround for a CUDA compiler bug (#186, #185) 2014-04-01 01:20:03 +02:00
Christophe Riccio
e33136538d - Fixed eulerAngle*** not consistent for right-handed coordinate system (#173) 2014-03-31 23:50:15 +02:00
David Reid
04d9fa2d45 Fix simd_quat build. 2014-03-21 18:49:27 +10:00
Christophe Riccio
3f327d5e70 Fixed usubBorrw 2014-03-16 12:33:00 +01:00
Christophe Riccio
00e860eeee Fixed missing bitfieldInterleave definisions 2014-03-16 11:53:58 +01:00
Christophe Riccio
0b73091c7f Fixed aliasing warnings 2014-03-16 11:15:56 +01:00
Christophe Riccio
658d7e2788 Fixed strict aliasing warnings in GCC 4.8.1 / Android NDK 9c (#152) 2014-03-16 03:08:56 +01:00
Christophe Riccio
693c1ddbc8 Merge 0.9.5 branch 2014-03-16 02:59:57 +01:00
Christophe Riccio
4b9e2d4028 Fixed warnings 2014-03-16 02:53:47 +01:00
Christophe Riccio
899f388921 Fixed CUDA issues (#169, #168, #183, #182) 2014-03-16 02:39:36 +01:00
Christophe Riccio
efd4087b1c Fixed int used instead of glm::length_t 2014-03-15 22:33:25 +01:00
Christophe Riccio
db09ecfc41 Fixed bitfieldInterleave for 4 components #175 2014-03-15 22:24:43 +01:00
Christophe Riccio
0d8d5af8dd Fixed CUDA_VERSION not being declared #182 2014-03-15 21:59:22 +01:00
Christophe Riccio
3c562d534f Merge branch '0.9.6' of https://github.com/g-truc/glm into 0.9.6 2014-03-15 21:49:18 +01:00
Christophe Riccio
ea87e50c59 Merge branch '0.9.5' into 0.9.6 2014-03-15 21:45:47 +01:00
Christophe Riccio
eaf3cf3056 Added missing GLM_FUNC_DECL 2014-03-15 21:45:28 +01:00
Christophe Riccio
2e90c3e117 Merge pull request #183 from dachziegel/0.9.6
added GLM_FUNC_DECL to avoid nvcc warnings #183
2014-03-15 19:52:27 +01:00
Christophe Riccio
19d2919ec3 Fixed version #179 2014-03-15 19:49:26 +01:00
dachziegel
9fddf6225b include <cuda.h> to make sure CUDA_VERSION is defined 2014-03-15 11:29:01 +01:00
dachziegel
2536c4c6b6 added GLM_FUNC_DECL to avoid nvcc warnings 2014-03-15 11:04:12 +01:00
Christophe Riccio
ce431012c9 Fix merge 2014-02-25 21:00:25 +01:00
Miguel Ángel Pérez Martínez
7cf0e87526 Added trigonometric.hpp dep to matrix_transform_2d.inl 2014-02-20 21:58:11 -03:00
Miguel Ángel Pérez Martínez
1644912f7d Added GTX_matrix_transform_2d 2014-02-20 21:51:33 -03:00
Christophe Riccio
016cce7bf1 Fixed GTX_raw_data code dependency 2014-02-19 02:10:36 +01:00
Christophe Riccio
43691702e1 Fixed GTX_raw_data code dependency 2014-02-19 02:09:09 +01:00
Christophe Riccio
13920db617 Fixed instruction set detection with GCC 2014-02-14 01:37:35 +01:00
Christophe
3459fcfbc1 Fixed instruction set detection on GCC 2014-02-13 21:02:11 +01:00
Christophe Riccio
e606edf43b Added instruction set auto detection with Visual C++ using _M_IX86_FP - /arch compiler argument 2014-02-09 16:25:36 +01:00
Christophe Riccio
2b17a90859 Fixed declaration and definition mismatch 2014-02-08 20:49:34 +01:00
Christophe Riccio
7ce6df4078 Fixed sqrt ambiguity 2014-02-08 20:21:24 +01:00
Christophe Riccio
31ec3eed97 Clean up initializer list code. 2014-02-08 19:08:09 +01:00
Christophe Riccio
4e444fed19 Fixed GLM_GTC_constants description brief (#162) 2014-02-08 14:16:23 +01:00
Christophe Riccio
a8fd81850f Tentative fix for strict aliasing warning in GCC 4.8.1 / Android NDK 9c (#152) 2014-02-08 14:10:00 +01:00
Christophe Riccio
98a0d9e00e Merge pull request #163 from patzy/0.9.5
Fix dot product clamp range for vector angle functions. (#163)
2014-02-08 13:45:22 +01:00
Christophe Riccio
6aa34be6ad Fixed GLM_FORCE_RADIANS with <glm/ext.hpp> build error (#165) 2014-02-08 13:43:32 +01:00
Christophe Riccio
a310855d23 Fixed undefined reference to fastInverseSqrt (#161) 2014-02-08 13:34:40 +01:00
Christophe Riccio
1d981dd344 Fixed initializer list ambiguity (#159, #160) 2014-02-08 12:40:34 +01:00
Morgan Veyret
32e57ce8ff Fix dot product clamp range for vector angle functions. 2014-02-01 21:05:44 +01:00
Christophe Riccio
638d49b549 Added static assert to test the argument 'a' type of 'mix' function 2014-01-18 03:26:51 +01:00
Christophe Riccio
49cc8e83e4 Merge 2014-01-18 03:19:46 +01:00
Christophe Riccio
926c8d159c Fixed mix function link error 2014-01-18 03:15:54 +01:00
Christophe Riccio
d3b8b2b64e Added move contructors and assignment operators (#141) 2014-01-14 22:51:04 +01:00
Christophe Riccio
6a3e1e9c35 Updated message 2014-01-14 20:32:10 +01:00
Christophe Riccio
66efbcc597 Merge branch '0.9.5' into 0.9.6 2014-01-14 09:27:28 +01:00
Christophe Riccio
14c1c91f77 Clean up 2014-01-14 09:27:17 +01:00
Christophe Riccio
dd272c52ee Fixed non power of two matrix products 2014-01-13 23:41:11 +01:00
Christophe Riccio
c3e4881833 Fixed warnings with the Android NDK 9c (#156) 2014-01-12 22:48:57 +01:00
Christophe Riccio
022a6f3294 Merge 0.9.5 2014-01-11 23:52:32 +01:00
Christophe Riccio
9a3781d99a Started GLM 0.9.5.2 2014-01-11 23:51:12 +01:00
Christophe Riccio
8a5603342c Merge 0.9.5 2014-01-11 23:49:08 +01:00
Christophe Riccio
6335627796 Fixed build 2014-01-11 23:23:21 +01:00
Christophe Riccio
01ac9e9b33 Fixed build 2014-01-11 23:21:54 +01:00
Christophe Riccio
9f81728602 Fixed outerProduct return type (#155) 2014-01-11 22:35:19 +01:00
Christophe Riccio
aeba3c6fe7 Quiet most GLM_FORCE_RADIANS messages 2014-01-11 21:12:53 +01:00
Christophe Riccio
3394af0cf2 Fixed build on GCC 2014-01-11 19:45:40 +01:00
Christophe Riccio
f2bce9c8fa Merge branch '0.9.5' of https://github.com/g-truc/glm into 0.9.5 2014-01-11 16:44:34 +01:00
Christophe Riccio
90a249b5ff Optimized matrix inverse and division code (#149) 2014-01-11 16:44:15 +01:00
Tom Cumming
14a7c56abd Ray plane intersection function 2014-01-07 10:54:00 +00:00
Christophe Riccio
efdfa577ee defaultp is an enum, alias of highp (#150) 2014-01-06 00:48:10 +01:00
Christophe Riccio
ccb25c84c7 Update copyright year 2014-01-04 22:32:28 +01:00
Christophe Riccio
bd8836e53b Merge branch '0.9.5' into 0.9.6 2014-01-04 22:29:45 +01:00
Dustin Biser
00f99d392c Remove unncessary divisions for mat inverses 2014-01-04 15:11:16 -05:00
Christophe Riccio
aa26672da1 Fixed inverse link error when using namespace glm; (#147) 2014-01-04 16:34:11 +01:00
Christophe Riccio
6f096fbb31 Fixed vector and matrix queries 2014-01-04 14:57:59 +01:00
Christophe Riccio
06ac77dad4 Fixed declaration and definision mismatches (#148) 2014-01-04 13:55:37 +01:00
Christophe Riccio
9edd8aacf0 Remove is_vector 2014-01-04 13:47:30 +01:00
Christophe Riccio
b96a26e9e2 Merge branch '0.9.5' of https://github.com/g-truc/glm into 0.9.5 2014-01-04 13:43:08 +01:00
Christophe Riccio
aed7317408 Fixed declaration and definision mismatches (#148) 2014-01-04 13:42:49 +01:00
Christophe Riccio
19ad72840f Merge branch '0.9.5' of https://github.com/g-truc/glm into 0.9.5 2014-01-04 13:27:24 +01:00
Christophe Riccio
6ed8c3dbb3 Added vectorized implementation of fast inversesqrt 2014-01-04 13:27:06 +01:00
Christophe Riccio
c6896064ef Fixed rotate function declaration for quat 2014-01-04 12:54:27 +01:00
Christophe Riccio
4f2d7a97e0 Merge 2014-01-01 14:05:48 +01:00
Christophe Riccio
9b57315681 Fixed mismatch of GTC_packing declaration and definition prototypes 2013-12-28 19:14:11 +01:00
Christophe Riccio
775c6136fc Fixed error 'inverse' is not a member of 'glm' from glm::unProject (#146) 2013-12-27 19:23:44 +01:00
Christophe Riccio
78d487b482 Added ULP comparison between lowp and highp for inversesqrt 2013-12-27 02:20:53 +01:00
Christophe Riccio
8a023f7767 Removed GTX_int_10_10_10_2, replaced by GTC_packing functions 2013-12-27 01:32:39 +01:00
Christophe Riccio
d252dd243b Added possible static_cast conversion of GLM types (#72) 2013-12-27 00:49:53 +01:00
Christophe Riccio
1b36eb7603 Removed GLM_FORCE_RADIANS 2013-12-26 20:26:31 +01:00
Christophe Riccio
0d5deadf02 Removed GLM_FORCE_RADIANS, now it's the default behaviour 2013-12-26 19:15:48 +01:00
Christophe Riccio
6d6c56f211 Merge branch '0.9.5' into 0.9.6 2013-12-26 18:59:45 +01:00
Christophe Riccio
1909f512e7 Deprecated degrees, display a message for each function using it. 2013-12-26 18:58:44 +01:00
jan p springer
39179ba1ad un/formatted() usage to un/formatted 2013-12-26 15:15:53 +00:00
Christophe Riccio
d01630079c Fixed Visual C++ vec4 simd specification code path 2013-12-26 13:39:04 +01:00
Christophe Riccio
5f1bb47bf2 Merge branch '0.9.5' into 0.9.6 2013-12-26 13:15:20 +01:00
Christophe Riccio
07a1abdfb3 Added vec4 SSE2 specializations 2013-12-26 13:03:26 +01:00
Christophe Riccio
66ff530367 Merge branch '0.9.6' of https://github.com/g-truc/glm into 0.9.6 2013-12-26 11:42:58 +01:00
Christophe Riccio
d9f5e07641 Concept prof for vec4 SIMD specialication 2013-12-26 11:42:38 +01:00
Christophe Riccio
6b2ecaaf42 Clean up 2013-12-26 02:46:34 +01:00
Christophe Riccio
7fc5d21bbf Fixed build 2013-12-26 01:24:04 +01:00
Christophe Riccio
d68fd2d97e Fixed space characters 2013-12-26 00:32:09 +01:00
Christophe Riccio
13676679ab Merge branch '0.9.5' of https://github.com/g-truc/glm into 0.9.5 2013-12-26 00:25:39 +01:00
Christophe Riccio
5775879cfd Merge pull request #145 from jsb/0.9.5
angle and orientedAngle sometimes return NaN values
2013-12-25 15:25:08 -08:00
Christophe Riccio
0de006a82c Updated version for next release 2013-12-26 00:20:08 +01:00
Christophe Riccio
ddd1efd5a7 Removed deprecated files 2013-12-26 00:06:15 +01:00
Christophe Riccio
792e5ff74f Fixed ext.hpp 2013-12-25 23:32:35 +01:00
Christophe Riccio
fd256dfaa8 Updated GLM manual with per feature headers. Fixed io. 2013-12-25 23:21:46 +01:00
Christophe Riccio
e9cb71e8b6 Fixed io build 2013-12-25 17:56:03 +01:00
Christophe Riccio
48fcbd6ec4 Fixed warnings on GCC 2013-12-25 17:44:44 +01:00
Christophe Riccio
4ca881697d Fixed build with GCC 4.7 C++11 2013-12-25 16:02:00 +01:00