Commit Graph

380 Commits

Author SHA1 Message Date
Christophe Riccio
b9d9ae4ec5 updated CLang version detection 2012-09-23 15:30:17 +01:00
Christophe Riccio
8b5e63375f updated CLang version detection 2012-09-23 15:27:47 +01:00
Christophe Riccio
c6d87a9458 Added compiler detection 2012-09-20 11:40:15 +02:00
Christophe Riccio
1eac545656 Fixed Intel compiler detection 2012-09-20 10:28:39 +02:00
Christophe Riccio
b012c80771 Fixed isnan for Intel compiler 2012-09-20 10:17:03 +02:00
Christophe Riccio
7e3f00d034 Added missing test files 2012-09-19 15:34:23 +02:00
Christophe Riccio
c2eea6da26 Removed floor_log2, comment that isnan and isinf are not working on MinGW 2012-09-18 01:52:16 +02:00
Christophe Riccio
c7812d44cf Added findLSB test 2012-09-16 23:26:25 +02:00
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