Commit Graph

939 Commits

Author SHA1 Message Date
Christophe Riccio
61589b8a28 Added a GTX_euler_angle unit test 2013-09-18 23:05:50 +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
dbef0b4eb5 Fixed build 2013-09-17 22:51:39 +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
8658704bf6 Merge branch '0.9.5' of https://github.com/g-truc/glm into 0.9.5 2013-09-11 01:09:21 +02:00
Christophe Riccio
08ada74f36 More precise C++ features detection 2013-09-11 01:06:11 +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
0ff1026dbb Removed value_type and size_type 2013-09-08 02:30:16 +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
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
5be36e0ddc Merge branch 'packing' of https://github.com/g-truc/glm into packing 2013-08-27 10:38:39 +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
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
9464e5b590 Added error for unsupported compiler versions 2013-08-20 23:25:38 +02:00
Christophe Riccio
6c1eb888ce Merge pull request #91 from zhumeng1989/0.9.5
Minor fix
2013-08-18 13:15:27 -07: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
e3e88f05a6 Merge branch '0.9.5' into packing 2013-08-09 23:22:53 +02:00
Christophe Riccio
97f43994cd Added f11f11f10 conversion code 2013-08-09 21:15:08 +02:00
Christophe Riccio
573712405b Added declaration for new GTC_packing extension 2013-08-09 00:01:02 +02:00
zhumeng1989
88ee302567 Minor fix
1. type_vec4.hpp
__declspec(align(16)) produces a compiler error on VS2012:
func_common.inl(634): error C2719: 'a': formal parameter with
__declspec(align('16')) won't be aligned
core_func_common.cpp(310) : see reference to function template
instantiation 'glm::detail::tvec4<T,P> glm::mix<float,highp>(const
glm::detail::tvec4<T,P> &,const glm::detail::tvec4<T,P>
&,glm::detail::tvec4<bool,highp>)' being compiled
with
[
T=float,
P=highp
]
and a warning on CygWin using gcc 4.7.2:
type_vec4.hpp:40:31: warning: 'align' attribute directive ignored
[-Wattributes]

2. gtx_bit.cpp
glm::uint32 x_max = 1 << 13;
glm::uint32 y_max = 1 << 12;
result out of memory on my machine.
2013-06-10 22:23:22 +08:00
Christophe Riccio
74d1f84e32 Fixed merge 2013-05-28 03:50:41 +02:00
Christophe Riccio
bbf9989334 Fixed test crash due to the normalization of a nan vector 2013-05-28 03:48:41 +02:00
Christophe Riccio
01a98e97c1 Fixed perspective with zNear == 0 (#71) 2013-05-12 15:36:29 +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
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
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
13f27821b9 Completed GTX_multiple for negative values, issue #79 2013-05-06 18:00:06 +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
Robert Ancell
f0d4080fe3 Fix glm::higherMultiple and glm::lowerMultiple and assoicated test cases. Does not fix the specialized versions of these functions 2013-05-03 16:52:06 -07:00
Christophe Riccio
31805bcd79 Removed grid test 2013-05-01 19:03:41 +02:00
Christophe Riccio
e72f18997c Fixed GTX_multiple for negative values, issue #51 2013-04-19 21:30:52 +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
c14e2d7fbc Added precision template parameter 2013-04-10 13:46:27 +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
982bb5ce5d Added rotation function, issue #22 2013-02-22 01:08:33 +01:00
Christophe Riccio
1e3cb00fe5 Completed bit interleaving for 3 and 4 values 2013-02-21 21:35:21 +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
Maksim Vorobiev
50c870ea96 Moved all dual quaternion functionality from GTC space to GTX. 2013-02-20 17:57:17 +03:00
Maksim Vorobiev
23a84732ef Merge branch 'master' into 0.9.5 2013-02-20 17:26:09 +03:00
Maksim Vorobiev
93f0527b12 Removed unneccessary copypasted test 2013-02-20 15:48:16 +03:00
Maksim Vorobiev
c73dc4a05f Added dual quaternion functionality 2013-02-20 15:39:40 +03:00
Christophe Riccio
bd7125c50b Added bit interleave for 3 and 4 integers 2013-02-10 19:25:11 +01:00
Christophe Riccio
6799127ec6 Fixed any and all for scalars 2013-02-04 19:17:47 +01:00
Christophe Riccio
59b9a780e9 Added GTX_scalar_relational implementation and tests 2013-02-04 19:04:32 +01:00
Christophe Riccio
c57a000791 Added bitfieldInterleave implementation 2013-02-01 23:55:25 +01:00
Christophe Riccio
df0d9e687e Improved bitfield interleaved tests 2013-02-02 04:44:21 -08:00
Christophe Riccio
920ca0a242 Experiments to add bitfieldInterleave 2013-02-01 20:53: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
d52a388000 Refactoring of integer and float details, use of C++11 integer types when available. 2013-01-31 18:02:47 +01:00
Christophe Riccio
b5607d0018 Fixed merge 2013-01-31 15:01:48 +01:00
Christophe Riccio
7848efdba9 Fixed space 2013-01-31 14:43:30 +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
739ab3529c Resolved issue #4, added GLM_GTX_rotate_normalized_axis 2012-12-14 00:14:02 +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
8b75ff6e1c Added GTX_multiple tests 2012-12-07 11:25:06 +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
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
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
1dda2390e5 Fixed warnings on MacOS X 2012-11-04 14:26:54 +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
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
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
06d0b33f7b Fixed build 2011-05-05 13:36:07 +01:00
Christophe Riccio
29ffc7e748 Merge branch '0.9.2' into noise 2011-05-05 12:40:36 +01:00
Christophe Riccio
763699f528 Merge branch 'noise' of ssh://ogl-math.git.sourceforge.net/gitroot/ogl-math/ogl-math into noise 2011-05-05 12:36:32 +01:00
Christophe Riccio
378da68899 Merge branch '0.9.2' into gtx_ulp 2011-05-05 12:35:03 +01:00
Christophe Riccio
22a2cd5332 Fixed typo 2011-05-05 12:34:24 +01:00
Christophe Riccio
58d2d282f2 Updated naming conventions 2011-05-04 10:21:25 +01:00
Christophe Riccio
7a1cc47897 Added development tests 2011-05-04 00:54:35 +01:00
Christophe Riccio
a432aec515 Visual C++ Version... 2011-05-03 00:20:09 +01:00
Christophe Riccio
79cec21c3a Merge branch '0.9.2' into gtx_ulp 2011-05-03 00:08:49 +01:00
Christophe Riccio
0ac5c86fd6 Merge branch '0.9.2' into noise 2011-05-03 00:08:15 +01:00
Christophe Riccio
a7fb32669c Fixed tests 2011-05-03 00:01: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
c3763826e8 Fixed gtc_swizzle test 2011-05-02 22:27:55 +01:00
Christophe Riccio
6bb1d3d835 Added test to check bug #83 2011-04-28 17:26:54 +01:00
Christophe Riccio
7fad31404d Updated noise extension API 2011-04-28 11:26:18 +01:00
Christophe Riccio
dbca36a123 Added noise function declarations 2011-04-26 15:46:22 +01:00
Christophe Riccio
eb95923402 Developement test 2011-04-26 14:46:30 +01:00
Christophe Riccio
69c764eca9 Fixed build 2011-04-26 14:24:45 +01:00
Christophe Riccio
8e4dcece16 Fixed vector based ULP functions 2011-04-26 12:29:56 +01:00
Christophe Riccio
2ca5985b0e Added ULP test file 2011-04-26 12:08:30 +01:00
Christophe Riccio
3bf665116d Added snoise (2d) implementation draft 2011-04-21 17:20:56 +01:00
Christophe Riccio
a805b42f8b Added noise extension and test files 2011-04-21 12:27:05 +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
e2f8c06e85 Completed new precision API 2011-03-11 01:28:28 +00:00
Christophe Riccio
bea54a5cff Added CMake test infrastructure 2011-02-21 13:25:13 +00:00
Christophe Riccio
680485f8f7 Removed CMake test from GLM 0.9.1 branch 2011-02-21 13:23:04 +00:00
Bob Kuehne
cc485cb4c1 added proper cmake test infrastructure 2011-02-15 12:25:21 -05:00
Christophe Riccio
26766eaac4 Added outerProduct SIMD implementation 2011-02-08 15:35:06 +00:00
Bob Kuehne
0dcb11a208 * change formatting to quiet compiler 2011-02-06 04:44:13 -05:00
Christophe Riccio
8387847c42 Improved simd cast and added duplicated values function with smind instructions 2011-01-31 12:38:48 +00:00
Christophe Riccio
510d9bbccf Fixed build 2011-01-31 12:21:11 +00:00
Christophe Riccio
a511553d8e Added missing SIMD implementations 2011-01-28 17:06:57 +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
d8ddba592f Fixed Visual C++ build 2011-01-20 23:28:33 +00:00
Christophe Riccio
a00f95d2b5 Fixed 64 bits in Visual C++ 2011-01-20 23:11:55 +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
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
20e52ebdab Added compute random stuff test 2011-01-16 01:18:39 +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
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
b5cda17ea8 Fixed GCC build and tests 2011-01-11 16:23:45 +00:00
Christophe Riccio
d31d1e9c10 Added more pref tests 2011-01-11 14:10:29 +00:00
Christophe Riccio
4cb7bcd4f1 Updated det tests + PSHUFD det impl 2011-01-11 12:05:12 +00:00
Christophe Riccio
e5c662b1a8 updated test 2011-01-11 01:58:25 +00:00
Christophe Riccio
197c0d26b7 Fixed build fixed SSE fast det 2011-01-11 01:41:02 +00:00
Christophe Riccio
178f736fb0 Added SSE optimization 'platforms' 2011-01-11 01:28:03 +00:00
Christophe Riccio
a9cef7a516 Added SSE det function 2011-01-06 18:33:42 +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