Commit Graph

860 Commits

Author SHA1 Message Date
Christophe Riccio
6525d84e3b Fixed android build 2011-10-25 13:51:36 +01:00
Christophe Riccio
91966f0775 Merge branch '0.9.2' into 0.9.3 2011-10-24 18:15:07 +01:00
Christophe Riccio
cd1569c543 Added product declarations 2011-10-24 18:14:51 +01:00
Christophe Riccio
83f278f922 Fixed doxygen errors 2011-10-24 17:11:09 +01:00
Christophe Riccio
859833fa62 Fixed doxygen error 2011-10-24 15:47:31 +01:00
Christophe Riccio
499e5291e4 Merge branch '0.9.2' into 0.9.3 2011-10-24 00:42:34 +01:00
Christophe Riccio
25b4a14df2 Added missing none squared products 2011-10-24 00:42:24 +01: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
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
774bd01b92 Added link to roundEven what about 2011-10-20 14:16:39 +01:00
Christophe Riccio
5050bfacf7 Fixed setup options 2011-10-20 14:03:08 +01:00
Christophe Riccio
ee15fe5289 Clean up setup 2011-10-20 12:14:24 +01:00
Christophe Riccio
7533265233 Updated style, typo, removed old swizzle macro 2011-10-20 12:00:51 +01:00
Christophe Riccio
d43e671dcd Fixed ln_ten constant 2011-10-20 11:30:05 +01:00
Christophe Riccio
7cbda2e1e2 Added GLM_SUPPORT_SWIZZLE_OPERATOR macro 2011-10-20 11:28:23 +01:00
Christophe Riccio
9db0d3525a Fixed language detection on GCC 2011-10-19 23:45:59 +01:00
Christophe Riccio
a7611bfdf3 Fixed vector half type code broken in a previous merge 2011-10-19 22:49:14 +01:00
Christophe Riccio
840aefa52e Test change 2011-10-19 22:40:11 +01:00
Christophe Riccio
cc8fa8a9c1 Removed dependence with a deprecated extension 2011-10-19 19:02:46 +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
b4206636b7 Merge branch '0.9.3' into swizzle 2011-10-18 14:52:46 +01:00
Christophe Riccio
85f2429d0e Fixed vec1 definition 2011-10-18 14:52:17 +01:00
Christophe Riccio
6acbd8582c Added individual swizzle function preprocessor commands 2011-10-18 14:29:31 +01:00
Christophe Riccio
f4b1844b9a Merge branch '0.9.3' into swizzle 2011-10-18 14:15:36 +01:00
Christophe Riccio
be97b8b213 Added vec1 types 2011-10-18 14:14:48 +01:00
Christophe Riccio
1882f16c97 Added GL_NV_gpu_shader5 types 2011-10-18 12:35:13 +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
12192d9232 Merge branch '0.9.3' into swizzle 2011-10-17 16:26:04 +01:00
Christophe Riccio
8877e038e5 Merge branch '0.9.3' of ssh://ogl-math.git.sourceforge.net/gitroot/ogl-math/ogl-math into 0.9.3 2011-10-17 16:16:14 +01:00
Christophe Riccio
e7df27c8ca Updated documentation, fixed typos 2011-10-17 16:13:57 +01:00
Christophe Riccio
d3fd7dfa14 Fixed build, simplify template declaratons 2011-10-14 23:36:21 +01:00
Christophe Riccio
560512f270 Merge branch '0.9.3' into swizzle 2011-10-14 17:43:51 +01:00
Christophe Riccio
13e16886a3 Improve template paramter documentation 2011-10-14 17:43:06 +01:00
Christophe Riccio
9843d38b67 Improved documentation 2011-10-14 17:05:47 +01:00
Christophe Riccio
177e0158b7 Improve documentation 2011-10-14 16:45:48 +01:00
Christophe Riccio
143b7f81d4 Fixed merge 2011-10-14 14:28:38 +01:00
Christophe Riccio
e93b6eb518 Merge branch '0.9.3' into swizzle 2011-10-14 14:08:15 +01:00
Christophe Riccio
8d843a448a Vectorize and reformatting 2011-10-14 14:07:53 +01:00
Christophe Riccio
7e9ca13cde Vectorized 2011-10-14 13:19:15 +01:00
Christophe Riccio
86be6440e3 Vectorize and reformat 2011-10-14 13:15:11 +01:00
Christophe Riccio
dc7d8f5c0c Merge branch '0.9.3' into swizzle 2011-10-14 12:57:25 +01:00
Christophe Riccio
bc15b98730 Reformatting 2011-10-14 12:56:51 +01:00
Christophe Riccio
6f6d161afb Vectorized 2011-10-14 12:48:09 +01:00
Christophe Riccio
6eba3a9db9 Added more vectorize functions 2011-10-14 12:41:45 +01:00
Christophe Riccio
e6fded40dc Vectorize 2011-10-14 11:16:13 +01:00
Christophe Riccio
d070f7cf77 Added semi-automatic vectorizer 2011-10-14 02:42:15 +01:00
Christophe Riccio
fe41daa938 Fixed merge 2011-10-13 21:15:31 +01:00
Christophe Riccio
c54e4902b9 Fixed static assert 2011-10-13 19:29:36 +01:00
Christophe Riccio
f84a38e4b3 Updated error message for unsuported log2 types 2011-10-13 19:16:41 +01:00
Christophe Riccio
742013f6d3 Added integer log2 implementation with compute_log2 class 2011-10-13 19:07:54 +01:00
Christophe Riccio
c004d95bdf Added log2 meta programming implementation 2011-10-13 18:59:25 +01:00
Christophe Riccio
dd02a9afd0 Fixed merge 2011-10-13 18:44:16 +01:00
Christophe Riccio
620861973e Added float_or_int_trait 2011-10-13 18:42:45 +01:00
Christophe Riccio
0add256545 Merge branch '0.9.3' into swizzle 2011-10-13 18:36:52 +01:00
Christophe Riccio
16ef34f9c5 Added log2 for int types 2011-10-13 18:36:44 +01:00
Christophe Riccio
70efce771d Updated date 2011-10-13 12:44:17 +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
e3da53946e Merge branch '0.9.2' into 0.9.3 2011-10-03 12:40:19 +01:00
Christophe Riccio
8df8569563 Added () operator for swizzling 2011-10-03 12:39:56 +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
4779a6d990 Merge branch '0.9.2' into 0.9.3 2011-09-30 16:21:49 +01:00
Christophe Riccio
d75db9b8e4 Fixed ticket #111, missing swizzle operations 2011-09-30 16:16:55 +01:00
Christophe Riccio
b7c11b1e6a Added GLM_GTX_constants extension 2011-09-30 15:36:55 +01:00
Christophe Riccio
264054d59d Fixed merge 2011-09-30 15:05:43 +01:00
Christophe Riccio
ac8552d296 Fixed /W4 VC warnings 2011-09-30 14:37:49 +01:00
Christophe Riccio
3def64b49b Fixed matrix division 2011-09-30 14:14:21 +01:00
Christophe Riccio
2438ec04b1 Ticket #129, fixed -Wsign-conversion warnings 2011-09-30 13:57:09 +01:00
Christophe Riccio
35b352168a Fixed revision number 2011-09-30 13:47:38 +01:00
Christophe Riccio
0c0473350f Merge branch '0.9.3' of ssh://ogl-math.git.sourceforge.net/gitroot/ogl-math/ogl-math into 0.9.3 2011-09-30 10:16:54 +01:00
Christophe Riccio
5fa3eb9e69 Fixed merge 2011-09-29 16:58:31 +01:00
Christophe Riccio
5431212c55 Fixed /W4 warnings 2011-09-29 16:49:50 +01:00
Christophe Riccio
9cdf63331e Added noise2, noise3 and noise4 draft implementation 2011-09-28 10:27:43 +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
283f7882da Merge branch '0.9.3' into swizzle 2011-09-25 05:17:41 +01:00
Christophe Riccio
97e07f6660 Typo / style 2011-09-25 05:09:34 +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
2912e726be Fixed build on G++ 2011-09-24 13:40:55 +01:00
Christophe Riccio
1e8802fa47 Replace spaces by tabs 2011-09-24 13:14:15 +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
124923154b Fix swizzle size defect and further clean-up 2011-09-23 14:08:52 -04:00
athile
6d83744b39 Simplify swizzling implementation into one swizzle class 2011-09-23 13:37:07 -04:00
athile
44bd721a41 Swizzle clean-up 2011-09-23 11:51:21 -04:00
Christophe Riccio
c7e5c17898 Added disk and ball rand implementations 2011-09-23 09:59:13 +01:00
Christophe Riccio
5f52e6a82f Added spherical and circular rand implementations 2011-09-23 09:14:25 +01:00
athile
a762f19861 Further swizzle work. 2011-09-22 14:56:39 -04:00
Christophe Riccio
3aefc82e95 Added linearRand implementation 2011-09-22 09:58:57 +01: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
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
a18a7dfac9 Added new GTC API for random 2011-09-21 21:10:51 +01:00
athile
73d5e729c1 WIP swizzles 2011-09-21 14:39:50 -04:00
Christophe Riccio
b2b664e9d9 Updated simplex3d implementation 2011-09-21 19:37:10 +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
24879d4580 Sync up to branch 0.9.3 2011-09-21 11:25:30 -04:00
Christophe Riccio
c02178c7f9 Fixed merge 2011-09-21 11:34:49 +01:00
Christophe Riccio
64453fd44e Fixed half vectors on VC + MS lang ext 2011-09-21 10:53:10 +01:00
Christophe Riccio
cec8665d16 Fixed ticket #128, bitfield based on vec types 2011-09-21 10:50:54 +01:00
Christophe Riccio
c998734914 Restore MS version of hvec* 2011-09-21 09:01:04 +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
06f1deafc8 Fixed higherMultiple for half types 2011-09-20 00:44:08 +01:00
Christophe Riccio
16bcc4444f Improved half implementation 2011-09-19 19:48:26 +01:00
Christophe Riccio
3ca45b7f0e Updated Clang and LLVM detection 2011-09-19 18:24:21 +01:00
Christophe Riccio
d868e52275 Improved int64 type for C99 support 2011-09-19 17:49:47 +01:00
Christophe Riccio
aa92c76da2 Fixed length build 2011-09-19 17:04:11 +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
bbaab256ac Created GTC_random 2011-09-18 08:05:09 +01:00
Christophe Riccio
cc48ab3697 Added experiments and tests for roundEven 2011-09-17 11:12:35 +01:00
Christophe Riccio
472174a206 Fixed merge 2011-09-16 09:46:37 +01:00
Christophe Riccio
91b8ae9c6e Fixed round function 2011-09-16 09:44:06 +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
e42e112469 Typo 2011-09-15 14:28:46 +01:00
Christophe Riccio
450d75897c Fixed packing function implementation 2011-09-14 16:01:50 +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
0ab221458f Fixed bug 123 2011-09-14 09:04:12 +01:00
Christophe Riccio
b21b389d2c Fixed and tested pack/unpackSnorm2x16 functions 2011-09-13 18:05:15 +01:00
Christophe Riccio
7455b4f451 Added missing declaration 2011-09-13 16:21:48 +01:00
Christophe Riccio
5f4a5b62f4 Fixed ticket 123, Visual C++ warnings 2011-09-13 16:08:05 +01:00
Christophe Riccio
bf76e0af09 Added GLSL 4.20 pack/unpackHalf16x2 functions 2011-09-13 14:44:38 +01:00
Christophe Riccio
f4800e6fc2 Added GLSL 4.20 pack/unpackSnorm2x16 2011-09-13 14:11:58 +01:00
Christophe Riccio
6628d62ce6 Fixed merge 2011-09-13 13:35:05 +01:00
Christophe Riccio
76214fa0da Fixed build 2011-09-13 13:32:42 +01:00
Christophe Riccio
a734a705b7 Fixed build 2011-09-13 13:25:06 +01:00
Christophe Riccio
dd2f8e1a97 Merge branch '0.9.2' into 0.9.3 2011-09-13 12:56:38 +01:00
Christophe Riccio
78ab122ae0 Declare specialized floattoXint functions 2011-09-13 12:56:11 +01:00
Christophe Riccio
12033f401b Merge branch '0.9.2' into 0.9.3 2011-09-13 12:26:52 +01:00
Christophe Riccio
0c70a2b1ea Fixed vec3 and vec4 for floattoXint functions 2011-09-13 12:26:33 +01:00
Christophe Riccio
9495a73137 Merge branch '0.9.2' into 0.9.3 2011-09-13 11:59:31 +01:00
Christophe Riccio
a198721c14 Fixed ticket 126, returns wrong types to floatToXint functions 2011-09-13 11:59:08 +01:00
Christophe Riccio
615262d52f Clean up tests 2011-09-13 11:54:21 +01:00
Christophe Riccio
51716bb460 Extensions included have a define which value is GLM_VERSION 2011-09-13 11:34:45 +01:00
Christophe Riccio
f035982424 Removed warning, declared some parameter documentation 2011-09-09 12:26:32 +01:00
Christophe Riccio
10b7640186 Referenced OpenGL 4.2 2011-09-09 12:01:45 +01:00
Christophe Riccio
2883847388 Fixed build, error from removed namespace and contructor casts 2011-09-09 11:46:11 +01:00
Christophe Riccio
24e438dac4 Updated documentation 2011-09-09 11:23:40 +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
7d3a2d7743 Fixed cppcheck type 2011-08-28 20:23:28 +01:00
Christophe Riccio
1f64b8b51f Fixed axisAngle 2011-08-28 20:00:20 +01:00
Christophe Riccio
8eee19e183 Fixed merge 2011-08-28 19:56:58 +01:00
Christophe Riccio
317a14aadd Merge branch '0.9.2' of ssh://ogl-math.git.sourceforge.net/gitroot/ogl-math/ogl-math into 0.9.2 2011-08-28 01:54:31 +01:00
Christophe Riccio
9385876f51 Fixed ticket 120, M_1_PI undeclare in C++0x 2011-08-27 17:13:37 +01:00
Christophe Riccio
9c6acd6549 Fixed ticket 125: missing dependence 2011-08-27 17:08:59 +01:00
Christophe Riccio
d46aa44034 Fixed warning, ticket #118 2011-08-27 15:39:26 +01:00
Christophe Riccio
b2cb4fe479 Fixed ticket #124 cast from mat* to quat undefined error 2011-08-27 15:34:28 +01:00
Christophe Riccio
535806abf9 Fixed merge 2011-08-04 22:50:28 +01:00
Christophe Riccio
606383b2ae Fixed GCC warning 2011-08-04 12:53:21 +01:00
Christophe Riccio
43eb90b1bf Ticket #116, fixed color casts 2011-08-01 14:21:09 +01:00
Christophe Riccio
2732d4bae5 Fixed ticket #116, missing bit mask 2011-08-01 14:10:02 +01:00
Christophe Riccio
3a32e3d7c3 Ticket #113, fixed quat product 2011-08-01 14:02:20 +01:00
Christophe Riccio
df750578c4 Ticket #114, fixed documentation 2011-08-01 13:30:48 +01:00
Christophe Riccio
124780e826 Added GLI for GLM tests 2011-06-23 20:07:13 +01:00
Christophe Riccio
f1a56a6ba1 Created doxygen modules for core functions 2011-06-18 13:27:58 +01:00
Christophe Riccio
3291cdb869 Merge branch '0.9.3' of ssh://ogl-math.git.sourceforge.net/gitroot/ogl-math/ogl-math into 0.9.3 2011-06-18 09:32:27 +01:00
Christophe Riccio
4b816e3c83 Updated doxygen doc 2011-06-18 00:51:12 +01:00
Christophe Riccio
937ef150b7 Updated doxygen doc 2011-06-17 23:50:37 +01:00
Christophe Riccio
0a88984a12 Merge branch '0.9.3' of ssh://ogl-math.git.sourceforge.net/gitroot/ogl-math/ogl-math into 0.9.3 2011-06-17 21:12:22 +01:00
Christophe Riccio
ac6f0c9b58 Updated doxygen doc 2011-06-17 21:11:35 +01:00
Christophe Riccio
39566fcee7 Updated doxygen doc 2011-06-17 19:34:50 +01:00
Christophe Riccio
9475756250 Updated doxygen doc 2011-06-17 19:12:18 +01:00
Christophe Riccio
69e4bb9b8e Merge branch '0.9.2' of ssh://g-truc.git.sourceforge.net/gitroot/ogl-math/ogl-math into 0.9.2 2011-06-16 23:28:45 +01:00
Christophe Riccio
78c6305089 Fixed links 2011-06-16 10:02:12 +01:00
Christophe Riccio
fa1d6aaa59 Moved doxy doc 2011-06-16 01:34:07 +01:00
Christophe Riccio
c4851e39a1 Fixed TODO 2011-06-16 00:12:32 +01:00
Christophe Riccio
642edcc53a Merge branch '0.9.2' into 0.9.3 2011-06-15 23:56:06 +01:00
Christophe Riccio
7931278c0f Fixed mix with bool, ticket #107 2011-06-15 23:55:49 +01:00
Christophe Riccio
c0e426c48a Merge branch '0.9.3' of ssh://ogl-math.git.sourceforge.net/gitroot/ogl-math/ogl-math into 0.9.3 2011-06-15 21:36:28 +01:00
Christophe Riccio
ea3e0d4ebd Fixed headers 2011-06-15 21:35:27 +01:00