Commit Graph

337 Commits

Author SHA1 Message Date
Christophe Riccio
cb5a2a86ca Fixed GTC_packing unpackUnorm3x10_1x2 #414 2015-09-28 23:47:40 +02:00
Sebastian Rettenberger
fa6fd748c0 Add test for floorMultiple/ceilMultiple (float only) 2015-09-23 12:03:44 +02:00
Christophe Riccio
47c77475a9 - Improved overall execution time of unit tests #396 2015-09-06 22:22:20 +02:00
Christophe Riccio
5437d49cf2 Renamed GTC_color to GTC_color_space 2015-08-01 21:55:28 +02:00
Christophe R.
37d4ca9c4c Merge pull request #368 from JesseTG/jtg/oops-sorry
Fixed some of my own metaprogramming-helper mistakes #368
2015-07-25 23:28:38 +02:00
Christophe Riccio
afa193704c Fixed interactions with GLM_FORCE_NO_CTOR_INIT and default functions #366 2015-07-25 23:23:59 +02:00
Christophe Riccio
a56a40e1f2 Added support of defaulted functions to GLM types, to use them in unions #366 2015-07-25 21:31:51 +02:00
Jesse Talavera-Greenberg
2a947b7ff1 Add GLM_META_PROG_HELPERS tests to each type
- Add new tests to the matrix types
- Add vector tests to use the static values instead of constants
- Wrap the quaternion tests in #ifdefs
- Add new tests to the simdMat4 and simdVec4 tests
2015-07-25 14:33:01 -04:00
Christophe Riccio
c90f7b0973 Fixed build 2015-07-19 01:04:07 +02:00
Christophe Riccio
47deb9709c Merge pull request #350 from JesseTG/jtg/template-convenience
Add static components and prec members to all vector and quat types #350
2015-07-18 23:49:29 +02:00
Christophe Riccio
357eaf7071 Fixed warnings 2015-07-18 10:00:00 +02:00
Jesse Talavera-Greenberg
a9c26d065b Add static components and prec members to all vector and quaternion types 2015-07-03 14:57:46 -04:00
Christophe Riccio
08eedc6209 Added experiment for new fastCos. More sRGB tests. 2015-06-27 18:36:17 +02:00
Christophe Riccio
099bef4d16 Fixed GCC build 2015-05-01 14:48:55 +02:00
Christophe Riccio
a472f50767 Fixed C++98 build 2015-05-01 14:13:48 +02:00
Christophe Riccio
042270d049 Added 'fmod' overload to GTX_common with tests, Removed integer specification for 'mod' in GTC_integer #308 2015-02-15 12:38:23 +01:00
Christophe Riccio
387df50459 Updated GTC_color 2015-02-12 21:21:50 +01:00
Christophe Riccio
40d0bc2e85 Added GTC_color, rgbToSrgb and srgbToRgb with tests 2015-02-10 23:49:49 +01:00
Christophe Riccio
d9290d7887 Fixed GTC_packing *pack*norm*x* build and added tests #292 2015-01-09 23:14:10 +01:00
Christophe Riccio
fc8b4404f0 Fixed faceforward build #289 2014-12-19 23:54:25 +01:00
Christophe Riccio
e1a9702097 Fixed GTC_integer test 2014-12-04 22:47:30 +01:00
Christophe Riccio
bd2601f12a Removed warnings 2014-12-04 00:27:49 +01:00
Christophe Riccio
09083fef05 Added more log2 tests 2014-12-02 20:48:26 +01:00
Christophe Riccio
a42f84ed47 Removed GLM_TEST_ENABLE_PERF 2014-11-29 20:46:58 +01:00
Christophe Riccio
7e81213fdd Fixed mod function specialization #281 Fixed bitscan detection 2014-11-29 18:47:58 +01:00
Christophe Riccio
3f48ffefb0 Updated license 2014-11-26 00:27:12 +01:00
Christophe Riccio
e8fbcf76dd Optimizations of log2 for ivec4 2014-11-24 01:56:36 +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
b062bd9ff2 First step to add GTC_type_aligned 2014-11-23 01:02:03 +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
bc5fe52a44 Removed empty GTC_integer 2014-11-16 16:42:47 +01:00
Christophe Riccio
b90c4c430e Added GLM_HAS_TRIVIAL_QUERIES define 2014-11-15 21:59:46 +01:00
Christophe Riccio
5960196ce8 Clean up white spaces, fix build with VC15 2014-11-15 20:36:53 +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
6f3765d281 First draft of GTC_round 2014-11-04 00:06:20 +01:00
Christophe Riccio
41c00872a1 Fixed GCC build 2014-11-01 23:35:10 +01:00
Christophe Riccio
abb5299e08 Fixed warnings with -pedantic 2014-10-29 10:28:25 +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
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
087d6292e3 Added GTC_bitfield extension, promoted GTX_bit 2014-10-26 00:22:08 +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
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
2b747cbbad Removed last references to GLM_FORCE_RADIANS 2014-08-04 00:10:12 +02:00
Christophe Riccio
d722b398c9 Added scalar conversion constructor 2014-07-28 22:08:09 +02:00
Christophe Riccio
9f0fe30585 Fixed build 2014-06-21 13:22:06 +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
83f594b5ed Fixed quaternion mul/vec test 2014-06-19 23:05:35 +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
Joel Nises
e610e9446e fixed bug in quaternion slerp 2014-06-05 17:48:53 +02:00
Christophe Riccio
31ec3eed97 Clean up initializer list code. 2014-02-08 19:08:09 +01:00
Christophe Riccio
aeba3c6fe7 Quiet most GLM_FORCE_RADIANS messages 2014-01-11 21:12:53 +01:00
Christophe Riccio
ccb25c84c7 Update copyright year 2014-01-04 22:32:28 +01: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
40c772341a Fixed white space 2013-12-27 01:30:19 +01:00
Christophe Riccio
d252dd243b Added possible static_cast conversion of GLM types (#72) 2013-12-27 00:49:53 +01:00
Christophe Riccio
9f8112f93a Reduced dependencies of GTX extensions. Removed some deprecated code. 2013-12-25 04:16:08 +01:00
jan p springer
e299af614f added: quat::op+=(quat) and quat::op*=(quat) 2013-11-22 21:46:30 +00:00
Christophe Riccio
71855943e0 Added initializer lists 2013-09-29 19:44:59 +02:00
Christophe Riccio
5d7c896a3f Fixed build on Visual C++ 2005 2013-09-24 01:21:55 +02:00
Christophe Riccio
61589b8a28 Added a GTX_euler_angle unit test 2013-09-18 23:05:50 +02:00
Christophe Riccio
08ada74f36 More precise C++ features detection 2013-09-11 01:06:11 +02:00
Christophe Riccio
b9266c07b0 Using C++ casts 2013-09-08 00:22:17 +02:00
Christophe Riccio
f511121559 Merge nohalf 2013-09-06 02:17:09 +02:00
Christophe Riccio
e413381fad Merge 2013-09-06 02:14:15 +02:00
Christophe Riccio
16b9c79acc Added implicit conversion of types with different precision qualifier 2013-09-02 00:16:41 +02:00
Christophe Riccio
635d2d0eca Fixed GTC_packing build 2013-09-01 18:22:47 +02:00
Christophe Riccio
8e955736ac Removed GTC_swizzle 2013-08-31 12:00:10 +02:00
Christophe Riccio
36a5f1cc20 Fixed merge 2013-08-31 11:53:05 +02:00
Christophe Riccio
b1230f2adc Fixed build 2013-08-26 11:14:46 +02:00
Christophe Riccio
0abec19bc1 Added missing documentation, missing 4x16 half packing functions, added initial tests 2013-08-26 08:28:17 +02:00
Christophe Riccio
da95e96fcf Fixed build on Clang and C++11 2013-08-22 23:24:18 +02:00
Christophe Riccio
25a5c21a24 Initial build with half types removed 2013-08-14 00:55:47 +02:00
Christophe Riccio
a105876133 Added GTC_packing implementation 2013-08-11 02:16:47 +02:00
Christophe Riccio
cf14790806 Added packF11F11F10 implementation 2013-08-10 19:52:59 +02:00
Christophe Riccio
97f43994cd Added f11f11f10 conversion code 2013-08-09 21:15:08 +02:00
Christophe Riccio
01a98e97c1 Fixed perspective with zNear == 0 (#71) 2013-05-12 15:36:29 +02:00
Christophe Riccio
66e3e52592 Fixed increment and decrement operators for matrix types 2013-05-10 23:08:30 +02:00
Christophe Riccio
95e72aa545 Added asserts to GTC_matrix_access 2013-05-10 22:00:53 +02:00
Christophe Riccio
31805bcd79 Removed grid test 2013-05-01 19:03:41 +02:00
Christophe Riccio
604405e941 Fixed equal operator on quat 2013-04-17 18:24:02 +02:00
Christophe Riccio
54e9d54579 Fixed tests and mat type typedefs 2013-04-17 12:26:34 +02:00
Christophe Riccio
abbb0fc7cb Added component wise comparison operators for quaternion 2013-04-17 11:16:54 +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
78118204f6 Merge branch '0.9.4' into 0.9.5 2013-02-20 16:22:07 +01:00
Christophe Riccio
2a4434786e Updated date 2013-02-20 16:21:56 +01:00
Christophe Riccio
bd7125c50b Added bit interleave for 3 and 4 integers 2013-02-10 19:25:11 +01:00
Christophe Riccio
5db36dc39c Fixed epsilonEqual test on quaternions 2012-12-22 14:30:46 +01:00
Christophe Riccio
29805391bd Added tests for slerp function 2012-12-22 00:32:07 +01:00
Christophe Riccio
841f91e830 Fixed bug #15, added missing roll, pitch and yaw functions; Fixed half implicit conversions 2012-12-13 22:48:20 +01:00
Christophe Riccio
b8f30c5ad3 Fixed bug #11, added missing quat based epsilonEqual and epsilonNotEqual definitions 2012-11-15 15:37:28 +01:00
Christophe Riccio
bfec0e2388 Fixed epsilon for half types 2012-11-06 02:26:31 +01:00
Christophe Riccio
cdf5d19275 Fixed space characters, using tab 2012-11-06 00:44:48 +01:00
Christophe Riccio
415c970188 Renamed equalEpsilon function into epsilonEqual and added tests 2012-11-05 19:43:23 +01:00
Christophe Riccio
9d9a625493 Renamed equalEpsilon function into epsilonEqual and added tests 2012-11-05 19:39:22 +01:00
Christophe Riccio
7e3f00d034 Added missing test files 2012-09-19 15:34:23 +02:00
Christophe Riccio
417692e83c Updated test notice 2012-04-07 17:18:04 +01:00
Christophe Riccio
148e829e5b Added value_ptr tests 2012-04-07 13:54:34 +01:00
Christophe Riccio
6a4677c30e Promoted GTX_epsilon, GTX_ulp, fixed build, removed deprecation warning at build time 2012-04-07 02:30:26 +01:00
Christophe Riccio
b2f0f4d3f9 Move noise, random and ulp test to GTC tests 2012-04-07 00:36:15 +01:00
Christophe Riccio
88d3927558 Updated copyright date 2012-01-09 11:20:01 +00:00
Christophe Riccio
30e2682230 Merge branch '0.9.2' into 0.9.3 2011-10-02 01:29:07 +01:00
Christophe Riccio
e8ee34e397 Added constructor taking partial swizzle operation parameter 2011-10-02 01:26:35 +01:00
Christophe Riccio
9c8930e630 Promoted noise extension to GTC 2011-09-27 10:22:29 +01:00
Christophe Riccio
ca88ff50dd Fixed build 2011-09-25 02:25:26 +01:00
Christophe Riccio
387854dbe3 Fixed and tested disk and ball rands 2011-09-24 23:51:49 +01:00
Christophe Riccio
695b058096 Fixed and tested circular and spherical rands 2011-09-24 23:36:42 +01:00
Christophe Riccio
a1789110e7 Fixed build 2011-09-24 13:56:36 +01:00
Christophe Riccio
5f52e6a82f Added spherical and circular rand implementations 2011-09-23 09:14:25 +01:00
Christophe Riccio
7df14e51dd Updated linearRand test 2011-09-22 20:25:50 +01:00
Christophe Riccio
3b66632235 Added half matrix tests 2011-09-21 20:01:29 +01:00
Christophe Riccio
d668433c20 Added half vec* and mat* tests 2011-09-20 18:32:45 +01:00
Christophe Riccio
16bcc4444f Improved half implementation 2011-09-19 19:48:26 +01:00
Christophe Riccio
0a7e5ffaf0 Fixed merge 2011-09-18 19:44:45 +01:00
Christophe Riccio
0c7dadef8e Fixed length function for half vec* types 2011-09-18 19:28:48 +01:00
Christophe Riccio
26f0bf7a4d Fixed build 2011-09-18 18:20:45 +01:00
Christophe Riccio
1ac0806c5d Fixed random tests 2011-09-18 13:48:19 +01:00
Christophe Riccio
3160fbf58c Fixed duplicated implementation of random functions 2011-09-18 13:20:37 +01:00
Christophe Riccio
4f2051728c Added GTC_random tests 2011-09-18 10:45:57 +01:00
Christophe Riccio
bbaab256ac Created GTC_random 2011-09-18 08:05:09 +01:00
Christophe Riccio
f035982424 Removed warning, declared some parameter documentation 2011-09-09 12:26:32 +01:00
Christophe Riccio
2883847388 Fixed build, error from removed namespace and contructor casts 2011-09-09 11:46:11 +01:00
Christophe Riccio
ecdaf5250b Merge branch '0.9.2' into 0.9.3 2011-08-26 23:12:27 +01:00
Christophe Riccio
d779fc7892 Added GTC_half_float tests 2011-07-11 09:52:03 +01:00
Christophe Riccio
770c5be43c Added GTC_type_ptr tests 2011-06-07 15:03:04 +01:00
Christophe Riccio
e43633dbe6 Moved test to GTX tests 2011-06-01 17:00:20 +01:00
Christophe Riccio
6fab8113d7 Fixed contructor of mat2 and added tests 2011-05-31 17:25:16 +01:00
Christophe Riccio
9fbf421f13 Added quaternion test 2011-05-31 16:46:13 +01:00
Christophe Riccio
6ff27ec9f9 Added half type tests 2011-05-31 16:45:41 +01:00
Christophe Riccio
d17e389b3a Updated message and precision tests 2011-05-31 16:07:22 +01:00
Christophe Riccio
5d2350f7c8 Merge branch '0.9.2' of ssh://ogl-math.git.sourceforge.net/gitroot/ogl-math/ogl-math into 0.9.2 2011-05-27 20:21:27 +01:00
Christophe Riccio
daa63fd5cc Updated GTC_type_ptr tests 2011-05-27 20:20:52 +01:00
Christophe Riccio
c9b7b712fb Fixed angle implementation 2011-05-27 16:34:20 +01:00
Christophe Riccio
f87def17de Fixed tests 2011-05-27 00:31:58 +01:00
Christophe Riccio
740c28a22c Typo 2011-05-25 09:58:59 +01:00
Christophe Riccio
f7d6ffc833 Added quaternion tests 2011-05-25 09:50:01 +01:00
Christophe Riccio
1aaf0525ea Updated quaternion test files 2011-05-25 09:07:49 +01:00
Christophe Riccio
b9a2087281 Improved compiler detection 2011-05-18 14:38:48 +01:00
Christophe Riccio
43de372d73 Completed type precision tests 2011-05-08 01:26:38 +01:00
Christophe Riccio
d210238609 Fixed tests 2011-05-08 01:08:16 +01:00
Christophe Riccio
575e57ae9e Completed matrix access tests 2011-05-08 00:53:04 +01:00
Christophe Riccio
840c3d44f4 Added mat4 access tests 2011-05-08 00:31:34 +01:00
Christophe Riccio
fee7daf6ef Added matric access tests 2011-05-07 21:38:41 +01:00
Christophe Riccio
47c9476452 Added matrix_access test 2011-05-07 18:12:03 +01:00
Christophe Riccio
6d1adf04da Added type precision tests 2011-05-06 21:18:04 +01:00
Christophe Riccio
1c4abb3d73 Fixed tests to provide relevant output for CTest 2011-05-02 23:38:55 +01:00
Christophe Riccio
c3763826e8 Fixed gtc_swizzle test 2011-05-02 22:27:55 +01:00
Christophe Riccio
0089077931 Completed make_xxx test 2011-04-09 11:12:39 +01:00
Christophe Riccio
9e5554514c Fixed merge 2011-04-09 11:04:08 +01:00
Christophe Riccio
3ef4497635 Updated test 2011-04-09 11:01:42 +01:00
Christophe Riccio
653eef7357 Updated test 2011-04-09 10:58:50 +01:00
Christophe Riccio
b918e3ea3f Fixed pick function... again 2011-03-11 02:15:15 +00:00
Christophe Riccio
c6b7592246 Added files for extension tests 2011-03-11 02:09:33 +00:00
Christophe Riccio
c06484ff12 Clean up 2011-01-24 15:44:14 +00:00
Christophe Riccio
d8606d1825 Updated integer matrix implementation 2011-01-20 12:16:28 +00:00
Christophe Riccio
e4421a9b0f Updated copyright dates 2011-01-20 11:40:14 +00:00
Christophe Riccio
c2250eba87 Added matrix_integer draft 2011-01-20 11:02:39 +00:00
Christophe Riccio
2aba768990 Added extension inclusion messages 2011-01-19 16:41:58 +00:00
Christophe Riccio
ba0d3bbaff Completed swizzle operations implemenation 2011-01-15 20:03:31 +00:00
Christophe Riccio
b77d66317e Updated swizzle impl and tests 2011-01-15 02:37:34 +00:00
Christophe Riccio
21c1fa14a7 Updated GLM_GTC_swizzle extension + tests 2011-01-14 19:35:39 +00:00
Christophe Riccio
d7f768718c Added tests to main repository 2010-12-17 01:33:17 +00:00
Christophe Riccio
54ac58f910 Removed unfortunate Git mistake ... 2010-04-29 17:35:50 +01:00
Christophe Riccio
3cb1965573 Added test files 2010-04-29 16:54:07 +01:00
Christophe Riccio
7c5b8a3464 Clean master 2010-04-29 15:45:55 +01:00
Christophe Riccio
8316b4a7fd Added test files 2010-04-29 12:16:00 +01:00
Christophe Riccio
b1b02bc31b RAZ 2010-04-29 11:52:01 +01:00
Christophe Riccio
bc877da307 Added test files 2010-04-14 13:25:41 +01:00