Commit Graph

422 Commits

Author SHA1 Message Date
Christophe Riccio
8a7d6080d1 Fixed findMSB generic path 2012-09-13 00:43:46 +02:00
Christophe Riccio
40622b0e79 Fixed merge 2012-05-08 21:01:40 +01:00
Christophe Riccio
77eabf703a Merge branch '0.9.3' into 0.9.4 2012-05-02 13:07:06 +01:00
Christophe Riccio
05426e7398 Fixed matrixCompMult function for none square matrix 2012-05-02 13:06:00 +01:00
Christophe Riccio
dadf53884e Fixed transpose test 2012-05-02 12:34:07 +01:00
Christophe Riccio
bcc40eb6d6 Added transpose test 2012-05-02 12:25:15 +01:00
Christophe Riccio
a5fdf3c1bf Fixed ticket #182, isnan and isinf conflicts 2012-04-30 22:23:08 +01:00
Christophe Riccio
fb220d3f84 Fixed warnings: cast and redefined defines 2012-04-23 15:34:29 +01:00
Christophe Riccio
4585395a89 Added CMake test build options 2012-04-14 18:19:28 +01: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
543062d325 Fixed warning 2012-04-06 23:55:55 +01:00
Meng Zhu
4479150858 Fixed a bug in test/gtx_simd_mat4->test_mulD 2012-03-24 17:25:33 +08:00
Christophe Riccio
dd8cecbbbc Fixed platform detection 2012-01-24 13:56:15 +00:00
Christophe Riccio
241a0900ce Removed Boost 2012-01-09 11:25:47 +00:00
Christophe Riccio
953c80a1d6 Merge branch '0.9.3' of ssh://ogl-math.git.sourceforge.net/gitroot/ogl-math/ogl-math into 0.9.3 2012-01-09 11:21:48 +00:00
Christophe Riccio
88d3927558 Updated copyright date 2012-01-09 11:20:01 +00:00
Christophe Riccio
1ed0e3865b Fixed log2 in GCC 2012-01-08 22:36:49 +00:00
Christophe Riccio
040ea3ce7e Fixed conflict with Boost, ticket #158 2012-01-08 13:13:18 +00:00
Christophe Riccio
c7d752cdf8 Added boost header 2012-01-08 01:26:07 +00:00
Christophe Riccio
9c3faaca40 Fixed build, added boost test 2012-01-08 01:24:28 +00:00
Christophe Riccio
22ebdf4b08 Added CPP Check project 2012-01-03 16:22:37 +00:00
Christophe Riccio
1625a495a8 Fixed model, 32/64bits detection on MacOS X 2011-12-18 20:05:02 +00:00
Christophe Riccio
7ff95df5e6 Fixed ticket #153, vector and matrix queries 2011-12-06 12:22:43 +00:00
Christophe Riccio
dd244d8d25 Fixed MinGW roundEven bug 2011-12-05 18:08:43 +00:00
Christophe Riccio
dad27d9b37 Fixed tests 2011-11-24 17:59:58 +00:00
Christophe Riccio
0cd665c4ca Fixed reflect and refract test 2011-11-24 16:36:49 +00:00
Christophe Riccio
3aa30ff67c Added vector query basic tests 2011-11-23 15:44:41 +00:00
Christophe Riccio
d09501b7b0 Added epsilon constant and improved queries... still probably broken, need extra test 2011-11-22 17:52:53 +00:00
Christophe Riccio
c5389b595f Fixed merge 2011-11-14 18:15:03 +00:00
Christophe Riccio
369e929910 Fixed ticket #147 refract for scalar 2011-11-14 18:13:18 +00:00
Christophe Riccio
390498ef87 Fixed refract for double based types 2011-11-14 17:48:39 +00:00
Christophe Riccio
f0932fa9cc Added a test for double variable with modf 2011-11-14 12:40:55 +00:00
Christophe Riccio
c03490363f Added modf test 2011-11-14 12:18:24 +00:00
Christophe Riccio
e298ecfe1a Fixed swizzle functions 2011-10-23 00:19:53 +01:00
Christophe Riccio
66a8720bc0 Fixed condition to enable half vector specialization 2011-10-22 22:18:16 +01:00
Christophe Riccio
146eacb067 Updated tests for GCC 4.3 and below support 2011-10-22 20:29:24 +01:00
Christophe Riccio
621c266f33 Use 32 bits integers for these tests instead of 64 bits 2011-10-22 19:09:20 +01:00
Christophe Riccio
671ebd40eb Fixed GCC 4.2.4 build 2011-10-22 02:49:28 +01:00
Christophe Riccio
6c00ffa1b4 Fixed roundEven implementation, tests are now passing 2011-10-20 18:13:07 +01:00
Christophe Riccio
5050bfacf7 Fixed setup options 2011-10-20 14:03:08 +01:00
Christophe Riccio
7cbda2e1e2 Added GLM_SUPPORT_SWIZZLE_OPERATOR macro 2011-10-20 11:28:23 +01:00
Christophe Riccio
e5c087da89 Fixed build on compiler that doesn't support swizzle operators 2011-10-20 00:01:25 +01:00
Christophe Riccio
9db0d3525a Fixed language detection on GCC 2011-10-19 23:45:59 +01:00
Christophe Riccio
1e7923e7b9 Fixed compiler setup options 2011-10-19 19:00:44 +01:00
Christophe Riccio
212e1a1f07 Fixed swizzle functions for single component name mode of vector types 2011-10-19 16:51:50 +01:00
Christophe Riccio
4843f8ffb9 Added swizzle operator from generated functions for non C++11 compiler 2011-10-19 16:49:28 +01:00
Christophe Riccio
9e735277ad Added explicit swizzle functions 2011-10-18 16:27:20 +01:00
Christophe Riccio
f4b1844b9a Merge branch '0.9.3' into swizzle 2011-10-18 14:15:36 +01:00
Christophe Riccio
b056a22498 Improved pure code path 2011-10-18 11:21:34 +01:00
Christophe Riccio
911df15e8a Fixed build 2011-10-18 11:02:20 +01:00
Christophe Riccio
fe41daa938 Fixed merge 2011-10-13 21:15:31 +01:00
Christophe Riccio
0add256545 Merge branch '0.9.3' into swizzle 2011-10-13 18:36:52 +01:00
Christophe Riccio
6277440507 Fixed removed namespace still present 2011-10-13 12:26:11 +01:00
Christophe Riccio
c4af12634b Merge branch '0.9.3' into swizzle 2011-10-13 11:46:09 +01:00
Christophe Riccio
8864136e87 Fixed log2 2011-10-11 20:05:08 +01:00
Christophe Riccio
3c2882439f Added nlz, improved int log2, optimized findMSB with intrinsics 2011-10-11 19:15:41 +01:00
Christophe Riccio
09ee14ad4c Added uint log2 and deprecate GTX_unsigned_int 2011-10-11 15:31:16 +01:00
Ben
bcc8926ebf Add additional swizzle constructors 2011-10-05 11:14:59 -07:00
Christophe Riccio
b5c8d9e812 Fixed merge 2011-10-04 14:20:30 +01:00
Christophe Riccio
5d574ff4f2 Fixed merge 2011-10-03 16:07:05 +01: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
5431212c55 Fixed /W4 warnings 2011-09-29 16:49:50 +01:00
Christophe Riccio
9c8930e630 Promoted noise extension to GTC 2011-09-27 10:22:29 +01:00
Christophe Riccio
0abdaee9b4 typo 2011-09-26 02:20:23 +01:00
Christophe Riccio
8876a7f7f4 Fixed build 2011-09-25 17:11:21 +01:00
Christophe Riccio
8ab9477e7f Merge branch '0.9.3' of ssh://ogl-math.git.sourceforge.net/gitroot/ogl-math/ogl-math into 0.9.3 2011-09-25 17:09:09 +01:00
Christophe Riccio
a4724afb2c Added vec2 operators tests 2011-09-25 14:21:36 +01:00
Christophe Riccio
92f0f44a2f Added vec4 operators tests 2011-09-25 05:47:26 +01:00
Christophe Riccio
426082bfbf Added vec3 operator tests 2011-09-25 05:38:30 +01:00
Christophe Riccio
283f7882da Merge branch '0.9.3' into swizzle 2011-09-25 05:17:41 +01:00
Christophe Riccio
82ffd4aaf3 Added binary operator tests 2011-09-25 05:17:30 +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
1d05f79eb8 C++11 tests 2011-09-24 23:25:09 +01:00
Christophe Riccio
156235e574 Merge branch '0.9.3' into swizzle 2011-09-24 13:56:54 +01:00
Christophe Riccio
a1789110e7 Fixed build 2011-09-24 13:56:36 +01:00
Christophe Riccio
1eb86ac921 Fixed merge 2011-09-24 13:09:47 +01:00
Christophe Riccio
42cfff00a1 Merge branch '0.9.3' into swizzle 2011-09-23 20:39:46 +01:00
athile
1245dc51f3 Merge branch '0.9.3' of git://ogl-math.git.sourceforge.net/gitroot/ogl-math/ogl-math 2011-09-23 14:10:59 -04:00
athile
44bd721a41 Swizzle clean-up 2011-09-23 11:51:21 -04: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
athile
a762f19861 Further swizzle work. 2011-09-22 14:56:39 -04:00
athile
6dee4eabc4 WIP swizzle. Note: glm::dot() now working for swizzled vec3, but mysteriously not for vec2 or vec4. 2011-09-21 20:09:34 -04:00
athile
2851081b66 Incremental work on improving swizzles. 2011-09-21 16:49:42 -04:00
Christophe Riccio
1caa95f895 Merge branch '0.9.3' into swizzle 2011-09-21 21:38:22 +01:00
Christophe Riccio
1e9c4ffe94 Fixed merge 2011-09-21 21:34:13 +01:00
Christophe Riccio
dd2de8b20d Merge branch '0.9.3' of ssh://ogl-math.git.sourceforge.net/gitroot/ogl-math/ogl-math into 0.9.3 2011-09-21 21:11:44 +01:00
Christophe Riccio
3b66632235 Added half matrix tests 2011-09-21 20:01:29 +01:00
athile
73d5e729c1 WIP swizzles 2011-09-21 14:39:50 -04:00
Christophe Riccio
cd1df245bc Added noise tests output 2011-09-21 17:48:49 +01:00
athile
fe9a5562c1 Binary operators for swizzle/vec combinations 2011-09-21 12:42:35 -04:00
athile
5d3c6fb4ca Start implementation for swizzle operaators. operator+ and operator- have been added. 2011-09-21 12:19:27 -04:00
athile
d942261f23 Reenable the hvec3 test code 2011-09-21 11:31:55 -04:00
athile
24879d4580 Sync up to branch 0.9.3 2011-09-21 11:25:30 -04:00
Christophe Riccio
73e730e45a Added test with swizzle operators on both size 2011-09-21 11:46:46 +01:00
Christophe Riccio
c02178c7f9 Fixed merge 2011-09-21 11:34:49 +01:00
athile
6022ff616e Swizzle updates to handle non-POD types (e.g. hvec3) correctly 2011-09-20 22:21:15 -04:00
athile
f09aa1c177 First pass at adding swizzling members. 2011-09-20 20:17:52 -04:00
Christophe Riccio
d668433c20 Added half vec* and mat* tests 2011-09-20 18:32:45 +01:00
Christophe Riccio
bf698ec3e6 Clean up half old cast operators and added counter ops tests 2011-09-20 18:11:46 +01:00
Christophe Riccio
fc30641140 Added cast from Half types to any scalar types 2011-09-20 17:44:58 +01:00
Christophe Riccio
166c75afec Fixed packing tests 2011-09-19 23:05:29 +01:00
Christophe Riccio
16bcc4444f Improved half implementation 2011-09-19 19:48:26 +01:00
Christophe Riccio
d868e52275 Improved int64 type for C99 support 2011-09-19 17:49:47 +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
ac869c9faa Fixed merge 2011-09-18 19:01:49 +01:00
Christophe Riccio
38837a888d Added vec type size tests 2011-09-18 18:49:52 +01:00
Christophe Riccio
3e42bea4a0 Fixed build 2011-09-18 18:22:24 +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
621b1a1cd0 Fixed random tests 2011-09-18 07:23:14 +01:00
Christophe Riccio
cc48ab3697 Added experiments and tests for roundEven 2011-09-17 11:12:35 +01:00
Christophe Riccio
7cd97fe610 Fixed and test round functions 2011-09-16 09:39:51 +01:00
Christophe Riccio
20816a9f94 Updated compiler message tests 2011-09-16 00:18:12 +01:00
Christophe Riccio
4ac1d9c5cf Added round tests 2011-09-16 00:15:02 +01:00
Christophe Riccio
406bb666ea Fixed and tested all packing functions 2011-09-14 10:21:04 +01:00
Christophe Riccio
321f89ff7a Fixed and tested pack/unpackSnorm4x8 functions 2011-09-14 09:05:28 +01:00
Christophe Riccio
b21b389d2c Fixed and tested pack/unpackSnorm2x16 functions 2011-09-13 18:05:15 +01:00
Christophe Riccio
132ed9aa0e Added pack/unpackDouble2x32 tests 2011-09-13 16:15:32 +01:00
Christophe Riccio
64f9e3564d Added packHalf2x16 tests 2011-09-13 15:27:16 +01:00
Christophe Riccio
bf76e0af09 Added GLSL 4.20 pack/unpackHalf16x2 functions 2011-09-13 14:44:38 +01:00
Christophe Riccio
d2e1718286 Fixed floatBitXint tests 2011-09-13 13:53:40 +01:00
Christophe Riccio
168d9c9024 Added floattoint tests 2011-09-13 12:23:11 +01:00
Christophe Riccio
615262d52f Clean up tests 2011-09-13 11:54:21 +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
0abfe343a5 Merge branch '0.9.2' into 0.9.3 2011-09-09 11:01:31 +01:00
Christophe Riccio
cec6cefa1b Added to_string scalars and vectors tests 2011-09-01 09:57:10 +01:00
Christophe Riccio
b11f0cd3cc Added string cast test 2011-09-01 00:24:18 +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
124780e826 Added GLI for GLM tests 2011-06-23 20:07:13 +01:00
Christophe Riccio
256583b667 Added mix with bool test 2011-06-15 23:58:09 +01:00
Christophe Riccio
3904d5c59c Fixed warnings 2011-06-07 15:14:26 +01:00
Christophe Riccio
dc87aa849b Added some GTX_noise tests 2011-06-07 15:03:48 +01:00
Christophe Riccio
770c5be43c Added GTC_type_ptr tests 2011-06-07 15:03:04 +01:00
Christophe Riccio
f2142edd70 Fixed typos 2011-06-07 14:26:54 +01:00
Christophe Riccio
5acf2d84a0 Fixed namespace issues 2011-06-06 22:06:16 +01:00
Christophe Riccio
d850bdcd0b Merge branch '0.9.2' into 0.9.3 2011-06-01 17:00:34 +01:00
Christophe Riccio
e43633dbe6 Moved test to GTX tests 2011-06-01 17:00:20 +01:00
Christophe Riccio
39580d05f0 Fixed quaternion tests 2011-06-01 16:46:04 +01:00
Christophe Riccio
5375fbbc97 Added random tests 2011-06-01 11:57:43 +01:00
Christophe Riccio
b049cae5f2 Updated random tests 2011-06-01 10:45:24 +01:00
Christophe Riccio
74e22c481e Merge branch '0.9.2' of ssh://ogl-math.git.sourceforge.net/gitroot/ogl-math/ogl-math into 0.9.2 2011-05-31 21:41:26 +01:00
Christophe Riccio
a849404eef Removed test that fails build... probably correct behaviour, to check tough. 2011-05-31 19:29:54 +01:00
Christophe Riccio
9b8783d3c3 Added short and fast slerp tests 2011-05-31 19:18:49 +01:00
Christophe Riccio
d082ecf8a3 Added vec2 tests 2011-05-31 19:11:34 +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
b99df41b3e Merge branch '0.9.2' into 0.9.3 2011-05-31 16:10:20 +01:00
Christophe Riccio
d17e389b3a Updated message and precision tests 2011-05-31 16:07:22 +01:00
Christophe Riccio
22e51711c1 Merge branch '0.9.2' into 0.9.3 2011-05-31 14:34:18 +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
fc8a5d4c0a Merge branch '0.9.2' into 0.9.3 2011-05-27 00:38:58 +01:00
Christophe Riccio
f87def17de Fixed tests 2011-05-27 00:31:58 +01:00
Christophe Riccio
706c299636 Added length functions to matrix types and quaternions and tests. Ticket #97 2011-05-26 02:23:51 +01:00
Christophe Riccio
9e1bc811e3 Merge branch '0.9.2' into 0.9.3 2011-05-25 22:37:46 +01:00
Christophe Riccio
f58cc0900f Added length function tests 2011-05-25 19:59:31 +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
3d4b649bd5 Added 'angle' tests 2011-05-17 18:16:48 +01:00
Christophe Riccio
a1d4b1da22 Fixed GLM_GTX_vector_angle implementation 2011-05-17 17:19:38 +01:00
Christophe Riccio
dd4b416cd5 Fixed build 2011-05-17 01:15:41 +01:00
Christophe Riccio
3f7ad22b59 Updated GTX_rotate_vector test, basic test structure 2011-05-16 20:29:24 +01:00
Christophe Riccio
d71d20a6ef Added test basic structure 2011-05-16 09:52:53 +01:00
Christophe Riccio
699e8d3039 Added GTX_rotate_vector test file 2011-05-16 09:48:29 +01:00
Christophe Riccio
bcd060c940 Improved vector angle tests 2011-05-16 00:20:59 +01:00
Christophe Riccio
eb850c0fef Fixed vector angle build #90 2011-05-15 23:58:00 +01:00
Christophe Riccio
867d59ca6e Fixed GTX test names 2011-05-15 21:43:41 +01:00
Christophe Riccio
7432afca27 Added test file for vector_angle 2011-05-15 21:32:19 +01:00
Christophe Riccio
464ff7420c Clean up test files 2011-05-11 11:16:02 +01:00
Christophe Riccio
b26d5aeec1 Fixed noise tests 2011-05-08 01:51:18 +01:00
Christophe Riccio
d4dca93441 Merge branch '0.9.2' into noise 2011-05-08 01:43:50 +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
8432e064a8 Merge branch '0.9.2' into noise 2011-05-07 16:25:59 +01:00
Christophe Riccio
4d1e1b71ca Fixed typo 2011-05-07 15:59:31 +01:00
Christophe Riccio
49da4b3863 Merge branch '0.9.2' of ssh://ogl-math.git.sourceforge.net/gitroot/ogl-math/ogl-math into 0.9.2 2011-05-06 21:18:37 +01:00
Christophe Riccio
6d1adf04da Added type precision tests 2011-05-06 21:18:04 +01:00
Christophe Riccio
f433049bca Merge branch '0.9.2' into noise 2011-05-06 12:59:06 +01:00
Christophe Riccio
13ca4eabcc Added ULP tests 2011-05-06 12:56:47 +01:00