Commit Graph

513 Commits

Author SHA1 Message Date
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