Commit Graph

825 Commits

Author SHA1 Message Date
Christophe Riccio
46e61b4f07 Added test for fastSin #231 2014-09-16 01:35:29 +02:00
Christophe Riccio
ec513f4466 Added GTX_common with isdenomal #223 2014-09-07 20:53:35 +02:00
Christophe Riccio
bfa893b957 Fixed signed integer and float linearRand results #230 2014-09-07 00:57:21 +02:00
Christophe Riccio
5f7862ebec Improved linearRand: support precision and integers (#230) 2014-09-06 21:52:51 +02:00
Christophe Riccio
e419448539 Fixed compile problems with glm::max( vec, int ) #232 2014-09-06 02:24:50 +02:00
Christophe Riccio
ac3c2e37f1 Rely on STL functions for GLM functions using the same prototype #233 2014-09-06 01:45:13 +02:00
Christophe Riccio
eabeb0471b Merge branch '0.9.6' 2014-08-31 18:37:14 -04:00
Christophe Riccio
67c62d8b1c Merge branch '0.9.6' of https://github.com/g-truc/glm into 0.9.6 2014-08-31 18:12:53 -04:00
Christophe Riccio
3b7aadc2e3 Added initial commit for GLM_GTX_matrix_decompose #227 2014-08-31 18:12:38 -04:00
Christophe Riccio
2b747cbbad Removed last references to GLM_FORCE_RADIANS 2014-08-04 00:10:12 +02:00
Christophe Riccio
fa6bec2f3d Added swizzle contructor tests 2014-08-03 23:40:45 +02:00
Christophe Riccio
8b7d3daa34 Added vec1 operator tests 2014-07-28 23:46:46 +02:00
Christophe Riccio
d722b398c9 Added scalar conversion constructor 2014-07-28 22:08:09 +02:00
Christophe Riccio
4fa38c7a03 Fixed warning 2014-06-21 16:29:06 +02:00
Christophe Riccio
7f3c56f278 Removed GCC warning 2014-06-21 16:00:17 +02:00
Christophe Riccio
9f0fe30585 Fixed build 2014-06-21 13:22:06 +02:00
Christophe Riccio
7097e4c7c8 Fixed tweakedInfinitePerspective #208 and added user-defined epsilon to tweakedInfinitePerspective 2014-06-20 22:13:06 +02:00
Christophe Riccio
95cd2c8b24 Added #214 issue tests. 2014-06-20 20:06:41 +02:00
Christophe Riccio
84e05bbbb3 Added test for issue #214 2014-06-20 01:46:28 +02:00
Christophe Riccio
7fe8a1944c Fixed fastDistance ambiguity #215 2014-06-20 01:09:50 +02:00
Christophe Riccio
83f594b5ed Fixed quaternion mul/vec test 2014-06-19 23:05:35 +02:00
Christophe Riccio
c440b9515a Merge io for GLM types #144 2014-06-15 22:52:23 +02:00
Christophe Riccio
a1a861a4a6 Merge pull request #210 from moushkka/0.9.5
Fixed linear interpolation when cosTheta is close to 1 in quaternion slerp #210
2014-06-12 19:27:22 +02:00
Christophe Riccio
c506b43d49 Quaternion vector rotation error. #209 2014-06-12 00:29:56 +02:00
Joel Nises
e610e9446e fixed bug in quaternion slerp 2014-06-05 17:48:53 +02:00
Christophe Riccio
a2b70690c1 Added test gor issue #199 2014-05-04 17:34:34 +02:00
Christophe Riccio
d77bfa1a70 Fixed GTX_color_space - saturation #195 2014-05-04 17:20:40 +02:00
Roger Leigh
34bd28e8c6 cmake: Don't build tests when not testing 2014-04-15 10:46:45 +01:00
Christophe Riccio
e33136538d - Fixed eulerAngle*** not consistent for right-handed coordinate system (#173) 2014-03-31 23:50:15 +02:00
Christophe Riccio
12cde2bf75 Added eulerAnglesX tests 2014-03-31 02:00:51 +02:00
Christophe Riccio
3f327d5e70 Fixed usubBorrw 2014-03-16 12:33:00 +01:00
Christophe Riccio
efd4087b1c Fixed int used instead of glm::length_t 2014-03-15 22:33:25 +01:00
Christophe Riccio
233847ebfb Added vec2 length test 2014-02-25 19:12:52 +01:00
Christophe Riccio
ae2af04599 Updated release with GTX_matrix_transform_2d and added blank unit test file for the extension. (#176, #178) 2014-02-21 02:18:53 +01:00
Christophe Riccio
9eedee586d Added instruction set report and clean up output 2014-02-09 15:06:10 +01:00
Christophe Riccio
31ec3eed97 Clean up initializer list code. 2014-02-08 19:08:09 +01:00
Christophe Riccio
6aa34be6ad Fixed GLM_FORCE_RADIANS with <glm/ext.hpp> build error (#165) 2014-02-08 13:43:32 +01:00
Christophe Riccio
a310855d23 Fixed undefined reference to fastInverseSqrt (#161) 2014-02-08 13:34:40 +01:00
Christophe Riccio
1d981dd344 Fixed initializer list ambiguity (#159, #160) 2014-02-08 12:40:34 +01:00
Christophe Riccio
d7862e4bb5 Fixed SSE code included in GLM tests on pure platforms 2014-01-14 14:07:09 +01:00
Christophe Riccio
dd272c52ee Fixed non power of two matrix products 2014-01-13 23:41:11 +01:00
Christophe Riccio
aeba3c6fe7 Quiet most GLM_FORCE_RADIANS messages 2014-01-11 21:12:53 +01:00
Christophe Riccio
3394af0cf2 Fixed build on GCC 2014-01-11 19:45:40 +01:00
Christophe Riccio
90a249b5ff Optimized matrix inverse and division code (#149) 2014-01-11 16:44:15 +01:00
Christophe Riccio
ccb25c84c7 Update copyright year 2014-01-04 22:32:28 +01:00
Christophe Riccio
aa26672da1 Fixed inverse link error when using namespace glm; (#147) 2014-01-04 16:34:11 +01:00
Christophe Riccio
6f096fbb31 Fixed vector and matrix queries 2014-01-04 14:57:59 +01:00
Christophe Riccio
06ac77dad4 Fixed declaration and definision mismatches (#148) 2014-01-04 13:55:37 +01:00
Christophe Riccio
26e02fad68 Added initializer list for vectors 2014-01-04 12:46:47 +01:00
Christophe Riccio
71035db795 Added ULP comparison between lowp and highp for inversesqrt 2013-12-28 03:45:18 +01:00
Christophe Riccio
40c772341a Fixed white space 2013-12-27 01:30:19 +01:00
Christophe Riccio
d252dd243b Added possible static_cast conversion of GLM types (#72) 2013-12-27 00:49:53 +01:00
Christophe Riccio
e5f8ebbfd7 Tests to reproduce bug #135, could not reproduce it 2013-12-26 20:38:28 +01:00
jan p springer
39179ba1ad un/formatted() usage to un/formatted 2013-12-26 15:15:53 +00:00
Christophe Riccio
36de7ea9e9 Clean up 2013-12-26 13:14:50 +01:00
Christophe Riccio
6b2ecaaf42 Clean up 2013-12-26 02:46:34 +01:00
Christophe Riccio
fd256dfaa8 Updated GLM manual with per feature headers. Fixed io. 2013-12-25 23:21:46 +01:00
Christophe Riccio
9f8112f93a Reduced dependencies of GTX extensions. Removed some deprecated code. 2013-12-25 04:16:08 +01:00
Christophe Riccio
950eaa45cb Reduced dependencies for GTC extensions 2013-12-24 13:45:14 +01:00
Christophe Riccio
6f7eb97b87 Move content of core directory into detail directory. Reduced dependencies to glm.hpp. 2013-12-24 10:41:59 +01:00
Christophe Riccio
aa318f6a43 Fixed GTX_mixed_product build 2013-12-18 19:16:42 +01:00
jan p springer
0e3cebf23a removed boost dependencies 2013-12-18 10:34:06 +00:00
jan p springer
623cdaa552 reimplemented io support for basic types 2013-12-17 22:37:34 +00:00
Christophe Riccio
fa56944171 Fixed GTX_io test 2013-12-16 23:59:20 +01:00
jan p springer
0f66a02c2a added: op<< for glm types 2013-11-22 23:48:58 +00:00
jan p springer
e299af614f added: quat::op+=(quat) and quat::op*=(quat) 2013-11-22 21:46:30 +00:00
jan p springer
137b296556 fixed: commented unknown structure member (gcc4.8.2,f19,x86_64) 2013-11-22 21:35:06 +00:00
jan p springer
2a52f56360 fixed: printf -> std::printf and missing include 2013-11-22 21:32:33 +00:00
Christophe Riccio
dadab89566 Merge branch '0.9.5' of https://github.com/g-truc/glm into 0.9.5 2013-11-10 13:47:52 +01:00
Christophe Riccio
ffbcd7f6bd updated comments 2013-11-10 13:47:13 +01:00
Christophe Riccio
fbb54649b7 Added test files and fixed build errors for experimental extensions. 2013-10-27 22:38:22 +00:00
Christophe Riccio
2e72af3f6d Added test files for all GTX extensions 2013-10-27 18:25:03 +00:00
Christophe Riccio
4acd5b087d Added assert for initilizer lists to match sizes 2013-10-05 21:03:53 +02:00
Christophe Riccio
eb59cb9af6 Fixed initializer test implementation, simplified packing implementation 2013-10-05 20:06:56 +02:00
Christophe Riccio
5ea160413d Completed initializer list tests 2013-10-05 14:02:33 +02:00
Christophe Riccio
2d5724e23a Added more initializer lists tests 2013-10-01 01:31:57 +02:00
Christophe Riccio
9b1f079856 Added C++ 11 initializer list for matrix types 2013-10-01 01:12:21 +02:00
Christophe Riccio
2badec664f Merge branch '0.9.5' of https://github.com/g-truc/glm into 0.9.5 2013-09-30 03:51:40 +02:00
Christophe Riccio
81ed43373f Fixed mat4 initializer list contructors 2013-09-30 03:50:40 +02:00
Christophe Riccio
d656658849 Added initializer_list contructor test 2013-09-30 03:17:54 +02:00
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
5d7c896a3f Fixed build on Visual C++ 2005 2013-09-24 01:21:55 +02:00
Christophe Riccio
1e69dfe30e Added a quation constructor taking two axis 2013-09-22 23:37:55 +02:00
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