Commit Graph

397 Commits

Author SHA1 Message Date
Christophe Riccio
c556770a32 Fixed C++98 only build 2014-12-10 02:52:30 +01:00
Christophe Riccio
5331b67ad0 Clean up GLM_MESSAGES compilation log to report only detected capabilities 2014-12-10 02:27:13 +01:00
Christophe Riccio
83ad80d6b4 Fixed clang build 2014-11-29 20:52:53 +01:00
Christophe Riccio
a42f84ed47 Removed GLM_TEST_ENABLE_PERF 2014-11-29 20:46:58 +01:00
Christophe Riccio
0b9b157e24 Fixed test return type 2014-11-29 20:44:21 +01:00
Christophe Riccio
d79b17bcd1 Fixed test compiler error in Clang 2014-11-29 20:34:34 +01:00
Christophe Riccio
98fd37bef1 Fixed build 2014-11-29 20:28:25 +01:00
Christophe Riccio
a6b31d8fa1 Fixed test build 2014-11-29 20:21:13 +01:00
Christophe Riccio
cfac6e1b06 Fixed _tzcnt_u32 build, only with Windows 2014-11-29 19:10:55 +01:00
Christophe Riccio
7e81213fdd Fixed mod function specialization #281 Fixed bitscan detection 2014-11-29 18:47:58 +01:00
Christophe Riccio
bdd723ed3b Updated deprecated compilers 2014-11-27 23:42:35 +01:00
Christophe Riccio
3f48ffefb0 Updated license 2014-11-26 00:27:12 +01:00
Christophe Riccio
c20df07879 Updated license 2014-11-25 22:25:24 +01:00
Christophe Riccio
e8fbcf76dd Optimizations of log2 for ivec4 2014-11-24 01:56:36 +01:00
Christophe Riccio
0bffce4f4b Optimized findMSB and findLSB 2014-11-22 20:14:48 +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
6f8bbecbf5 Updated sign 2014-11-21 22:49:39 +01:00
Christophe Riccio
b0b84a3dc1 Optimized sign for vector types #271 2014-11-21 00:50:47 +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
1a4bc0d8a5 Added more geometric function tests 2014-11-16 20:52:54 +01:00
Christophe Riccio
2d48d922bd Updated VC support compilers list 2014-11-16 01:12:18 +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
0ff773a46a Added force CXX98 test 2014-11-15 21:59:28 +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
db4be24897 Fixed test build on ICC 2014-11-15 13:19:35 +01:00
Christophe Riccio
141c1856a7 Removed <iostream> in GLM tests, use <cstdio> instead 2014-11-15 00:49:12 +01:00
Christophe Riccio
16a0c960f7 Move more performance tests inside GLM_PERF_ENABLE 2014-11-15 00:20:56 +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
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
debe75a6e1 Added trivially copyable test 2014-11-12 21:45:12 +01:00
Christophe Riccio
ee84420f6c All *mat* types are copyable #263 2014-11-10 01:16:48 +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
377d5a4046 Optimized bitCount function 2014-11-02 23:48:02 +01:00
Christophe Riccio
c62b6c7324 Added bitcount/pop implementation perf tests 2014-11-02 21:18:46 +01:00
Christophe Riccio
afb1f6d152 Optimized bitfieldReverse 2014-11-02 20:48:59 +01:00
Christophe Riccio
c839f52697 Fix warnings 2014-10-29 10:35:19 +01:00
Christophe Riccio
9fe8bc1f66 Fixed build 2014-10-29 08:30:18 +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
d07a846539 Added sign function implementations and performance tests 2014-10-28 20:31:39 +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
8dd3ec02ea Removed bitRevert, duplicated of bitfieldReverse 2014-10-26 16:56:31 +01:00
Christophe Riccio
1b6b8183a0 Updated test 2014-10-25 21:57:06 +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
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
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
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
0813facc58 Updated compiler detection code 2014-10-18 22:43:15 +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
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
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
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
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
8b7d3daa34 Added vec1 operator tests 2014-07-28 23:46:46 +02:00
Christophe Riccio
4fa38c7a03 Fixed warning 2014-06-21 16:29:06 +02:00
Christophe Riccio
7f3c56f278 Removed GCC warning 2014-06-21 16:00:17 +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
95cd2c8b24 Added #214 issue tests. 2014-06-20 20:06:41 +02:00
Christophe Riccio
84e05bbbb3 Added test for issue #214 2014-06-20 01:46:28 +02:00
Christophe Riccio
3f327d5e70 Fixed usubBorrw 2014-03-16 12:33:00 +01:00
Christophe Riccio
efd4087b1c Fixed int used instead of glm::length_t 2014-03-15 22:33:25 +01:00
Christophe Riccio
233847ebfb Added vec2 length test 2014-02-25 19:12:52 +01:00
Christophe Riccio
9eedee586d Added instruction set report and clean up output 2014-02-09 15:06:10 +01:00
Christophe Riccio
31ec3eed97 Clean up initializer list code. 2014-02-08 19:08:09 +01:00
Christophe Riccio
1d981dd344 Fixed initializer list ambiguity (#159, #160) 2014-02-08 12:40:34 +01:00
Christophe Riccio
dd272c52ee Fixed non power of two matrix products 2014-01-13 23:41:11 +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
90a249b5ff Optimized matrix inverse and division code (#149) 2014-01-11 16:44:15 +01:00
Christophe Riccio
ccb25c84c7 Update copyright year 2014-01-04 22:32:28 +01:00
Christophe Riccio
6f096fbb31 Fixed vector and matrix queries 2014-01-04 14:57:59 +01:00
Christophe Riccio
26e02fad68 Added initializer list for vectors 2014-01-04 12:46:47 +01:00
Christophe Riccio
71035db795 Added ULP comparison between lowp and highp for inversesqrt 2013-12-28 03:45:18 +01:00
Christophe Riccio
d252dd243b Added possible static_cast conversion of GLM types (#72) 2013-12-27 00:49:53 +01:00
Christophe Riccio
36de7ea9e9 Clean up 2013-12-26 13:14:50 +01:00
Christophe Riccio
6b2ecaaf42 Clean up 2013-12-26 02:46:34 +01:00
Christophe Riccio
9f8112f93a Reduced dependencies of GTX extensions. Removed some deprecated code. 2013-12-25 04:16:08 +01:00
Christophe Riccio
950eaa45cb Reduced dependencies for GTC extensions 2013-12-24 13:45:14 +01:00
Christophe Riccio
6f7eb97b87 Move content of core directory into detail directory. Reduced dependencies to glm.hpp. 2013-12-24 10:41:59 +01:00
Christophe Riccio
aa318f6a43 Fixed GTX_mixed_product build 2013-12-18 19:16:42 +01:00
jan p springer
2a52f56360 fixed: printf -> std::printf and missing include 2013-11-22 21:32:33 +00:00
Christophe Riccio
4acd5b087d Added assert for initilizer lists to match sizes 2013-10-05 21:03:53 +02:00
Christophe Riccio
eb59cb9af6 Fixed initializer test implementation, simplified packing implementation 2013-10-05 20:06:56 +02:00
Christophe Riccio
5ea160413d Completed initializer list tests 2013-10-05 14:02:33 +02:00
Christophe Riccio
2d5724e23a Added more initializer lists tests 2013-10-01 01:31:57 +02:00
Christophe Riccio
9b1f079856 Added C++ 11 initializer list for matrix types 2013-10-01 01:12:21 +02:00
Christophe Riccio
2badec664f Merge branch '0.9.5' of https://github.com/g-truc/glm into 0.9.5 2013-09-30 03:51:40 +02:00
Christophe Riccio
81ed43373f Fixed mat4 initializer list contructors 2013-09-30 03:50:40 +02:00
Christophe Riccio
d656658849 Added initializer_list contructor test 2013-09-30 03:17:54 +02:00
Christophe Riccio
812ff4fcc8 Initializer list experiment 2013-09-30 02:36:04 +02:00
Christophe Riccio
b51fe09cb9 Fixed build 2013-09-30 02:05:13 +02:00
Christophe Riccio
5dc52c722c Added mat4 initializer experiment 2013-09-30 00:43:48 +02:00
Christophe Riccio
71855943e0 Added initializer lists 2013-09-29 19:44:59 +02:00
Christophe Riccio
1e69dfe30e Added a quation constructor taking two axis 2013-09-22 23:37:55 +02:00
Christophe Riccio
08c95429fe Fixed build on GCC 2013-09-17 23:56:46 +02:00
Christophe Riccio
52d86dcc19 Fixed merge 2013-09-17 23:30:37 +02:00
Christophe Riccio
33a482a6be Added GCC49 detection 2013-09-17 22:51:24 +02:00
Christophe Riccio
b258af3e67 Fixed B /= B.y bug for all assignment operators of vector classes. #116 2013-09-17 21:37:40 +02:00
Christophe Riccio
dddcbe58e6 Factorized float to uint and co function code. 2013-09-17 01:06:45 +02:00
Christophe Riccio
4707333a58 Added std::round test 2013-09-16 03:14:44 +02:00
Christophe Riccio
d37d3539ed - Fixed ldexp implementation
- Increased assert coverage
- Increased static_assert coverage
- Replaced GLM traits by STL traits when possible
- Allowed including individual core feature
2013-09-16 03:03:49 +02:00
Christophe Riccio
b72ce6addc Swizzle operators are disabled again by default... :/ 2013-09-15 20:44:33 +02:00
Christophe Riccio
1d9e6dc95c Enabled swizzle operator by default, removed GLM_SWIZZLE and add GLM_SWIZZLE_RELAX for Visual C++ lang extension implementation. 2013-09-15 17:55:05 +02:00
Christophe Riccio
ca3927b61a Fixed swizzle tests 2013-09-15 14:40:21 +02:00
Christophe Riccio
6d2170adb3 Fixed C++11 activation on XCode for the CMake test suite ID 2013-09-10 19:58:02 +02:00
Christophe Riccio
cd186dadb3 Optimized packing and unpacking functions 2013-09-08 17:56:18 +02:00
Christophe Riccio
98a277d6af Removed a static_assert 2013-09-08 15:17:45 +02:00
Christophe Riccio
b9266c07b0 Using C++ casts 2013-09-08 00:22:17 +02:00
Christophe Riccio
635d2d0eca Fixed GTC_packing build 2013-09-01 18:22:47 +02:00
Christophe Riccio
36a5f1cc20 Fixed merge 2013-08-31 11:53:05 +02:00
Christophe Riccio
0464c836cb Fixed merge 2013-08-31 11:50:30 +02:00
Christophe Riccio
4ed278b9c7 Fixed merge 2013-08-28 10:57:51 +02:00
Christophe Riccio
4b7862b314 Fixed issues with ref types for l-value swizzle operators 2013-08-27 13:50:55 +02:00
Christophe Riccio
bc72fafdd9 Removed multiple component selection code 2013-08-27 11:35:58 +02:00
Christophe Riccio
6e82d7ba31 Remove unsupported compiler detection 2013-08-27 11:05:06 +02:00
Christophe Riccio
1de93021bd Updated compiler detection 2013-08-27 10:50:33 +02:00
Christophe Riccio
22ab3bd59d Merge branch '0.9.5' into nohalf 2013-08-27 10:39:34 +02:00
Christophe Riccio
0330485171 Merge branch '0.9.5' into packing 2013-08-27 10:16:55 +02:00
Christophe Riccio
80f6c06c78 Fixed merge 2013-08-27 10:16:33 +02:00
Christophe Riccio
9464e5b590 Added error for unsupported compiler versions 2013-08-20 23:25:38 +02:00
Christophe Riccio
25a5c21a24 Initial build with half types removed 2013-08-14 00:55:47 +02:00
Christophe Riccio
573712405b Added declaration for new GTC_packing extension 2013-08-09 00:01:02 +02:00
Christophe Riccio
1c68cee29b Clean up code test for branch compatibility on all platforms 2013-05-12 11:40:25 +02:00
Christophe Riccio
28d8e7f251 Fixed increment and decrement operators tests 2013-05-10 01:44:13 +02:00
Christophe Riccio
691f04e14f Fixed post in/decrement operators 2013-05-08 21:52:21 +02:00
Christophe Riccio
e3da5f952c Fixed merge 2013-05-06 15:34:37 +02:00
Christophe Riccio
57a093035f Updated cast test 2013-05-06 15:22:42 +02:00
Christophe Riccio
56564badb5 Added tests for issue #72 2013-05-05 21:36:22 +02:00
Christophe Riccio
54e9d54579 Fixed tests and mat type typedefs 2013-04-17 12:26:34 +02:00
Christophe Riccio
d4043ea49a Added all precision types for GTC_type_precision 2013-04-16 21:58:26 +02:00
Christophe Riccio
296e3d7007 Fixed half precision implementation 2013-04-15 11:04:24 +02:00
Christophe Riccio
39cf417691 Added initial implementation for forward declarations: int and float scalar types, #56 2013-03-31 01:16:13 +01:00
Christophe Riccio
7739e9c3e3 Fixed merge 2013-03-20 01:49:22 +01:00
Christophe Riccio
dab66f81e5 Fixed mix function for bool and bvec* type third parameter, issue #59 2013-03-17 14:03:37 +01:00