Commit Graph

342 Commits

Author SHA1 Message Date
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
Christophe Riccio
96ecbbb28b Added more mix function tests 2013-03-17 03:34:56 +01:00
Christophe Riccio
e7a5e50fc8 Fixed merge 2013-03-16 18:16:36 +01:00
Christophe Riccio
b7f622a142 Added mix function tests 2013-03-16 02:54:44 +01:00
Christophe Riccio
c3af426eb1 Added mix function tests 2013-03-16 02:46:41 +01:00
Christophe Riccio
3e3736769c Fixed intrinsics build 2013-02-21 11:36:50 +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
59b9a780e9 Added GTX_scalar_relational implementation and tests 2013-02-04 19:04:32 +01:00
Christophe Riccio
5d22aabe70 Anonymous structure in unions are only supported by Visual C++, not C++ 11 2013-01-31 23:25:34 +01:00
Christophe Riccio
fee63c9b0f Fixed message display 2013-01-31 21:17:19 +01:00
Christophe Riccio
7848efdba9 Fixed space 2013-01-31 14:43:30 +01:00
Christophe Riccio
4fff9b4367 Added matrix inverse tests and clean up space characters 2012-11-09 03:39:43 +01:00
Christophe Riccio
c9a0b87c7b Fixed spaces 2012-11-09 01:24:22 +01:00
Christophe Riccio
415c970188 Renamed equalEpsilon function into epsilonEqual and added tests 2012-11-05 19:43:23 +01:00
Christophe Riccio
c899d63725 Fixed Clang and LLVM GCC detection 2012-10-13 18:26:04 +02:00
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
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
6a4677c30e Promoted GTX_epsilon, GTX_ulp, fixed build, removed deprecation warning at build time 2012-04-07 02:30:26 +01:00
Christophe Riccio
dd8cecbbbc Fixed platform detection 2012-01-24 13:56:15 +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
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
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
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
fe41daa938 Fixed merge 2011-10-13 21:15:31 +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
9c8930e630 Promoted noise extension to GTC 2011-09-27 10:22:29 +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
1d05f79eb8 C++11 tests 2011-09-24 23:25:09 +01:00
Christophe Riccio
1eb86ac921 Fixed merge 2011-09-24 13:09:47 +01:00
athile
44bd721a41 Swizzle clean-up 2011-09-23 11:51:21 -04: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
1e9c4ffe94 Fixed merge 2011-09-21 21:34:13 +01:00
athile
73d5e729c1 WIP swizzles 2011-09-21 14:39:50 -04: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
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
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
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
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
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
d850bdcd0b Merge branch '0.9.2' into 0.9.3 2011-06-01 17:00:34 +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
d082ecf8a3 Added vec2 tests 2011-05-31 19:11:34 +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
706c299636 Added length functions to matrix types and quaternions and tests. Ticket #97 2011-05-26 02:23:51 +01:00
Christophe Riccio
f58cc0900f Added length function tests 2011-05-25 19:59:31 +01:00
Christophe Riccio
4d1e1b71ca Fixed typo 2011-05-07 15:59:31 +01:00
Christophe Riccio
faff516c22 Added int and uint tests 2011-05-06 10:15:12 +01:00
Christophe Riccio
ee56c3a449 Added float unit tests 2011-05-06 10:10:11 +01:00
Christophe Riccio
22a2cd5332 Fixed typo 2011-05-05 12:34:24 +01:00
Christophe Riccio
c42904c720 Merge branch '0.9.1' into 0.9.2 2011-05-02 23:44:48 +01:00
Christophe Riccio
1c4abb3d73 Fixed tests to provide relevant output for CTest 2011-05-02 23:38:55 +01:00
Christophe Riccio
6bb1d3d835 Added test to check bug #83 2011-04-28 17:26:54 +01:00
Christophe Riccio
e2f8c06e85 Completed new precision API 2011-03-11 01:28:28 +00:00
Christophe Riccio
c06484ff12 Clean up 2011-01-24 15:44:14 +00:00
Christophe Riccio
019c6ced18 Fixed SSE detection on GCC 2011-01-24 15:43:46 +00:00
Christophe Riccio
e4421a9b0f Updated copyright dates 2011-01-20 11:40:14 +00:00
Christophe Riccio
a1ae4bb86f Added empty tests files 2011-01-19 16:15:26 +00:00
Christophe Riccio
137c5661b9 Added empty tests files 2011-01-19 16:14:23 +00:00
Christophe Riccio
7c177c0ea3 Updated component modes management 2011-01-19 15:01:17 +00:00
Christophe Riccio
4cb312773e Added test for == operators 2011-01-19 12:48:04 +00:00
Christophe Riccio
c891092425 Added unit tests for vector relational 2011-01-15 22:08:31 +00:00
Christophe Riccio
ac7e851692 Improved vertor type check and fixed vertor relational tests 2011-01-15 20:04:36 +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