1217 Commits

Author SHA1 Message Date
Christophe Riccio
b47a0a212f Merge branch '0.9.5' of https://github.com/g-truc/glm into 0.9.5 2013-10-05 19:12:22 +02:00
Christophe Riccio
cc3fcda9f8 Simplify implementations 2013-10-05 19:12:03 +02:00
Christophe Riccio
e13e147799 Uses a C++ cast instead of a C cast 2013-10-05 14:07:38 +02:00
Christophe Riccio
d3b8b25dd4 Added missing assert for sqrt 2013-10-05 14:05:28 +02:00
Dustin Biser
78fed634b7 Modified quaternion mat3_cast for faster results
- Make method more cache coherent
- Reduce number of multiplications
2013-10-04 22:08:08 -04:00
Christophe Riccio
258361ccd4 Added C++11 initalizer lists to quaternions 2013-10-01 02:00:27 +02:00
Christophe Riccio
9b1f079856 Added C++ 11 initializer list for matrix types 2013-10-01 01:12:21 +02:00
Christophe Riccio
81ed43373f Fixed mat4 initializer list contructors 2013-09-30 03:50:40 +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
f911117407 Replace glm::detail::type traits by std::numerical_limits traits 2013-09-30 01:57:05 +02:00
Christophe Riccio
f228d42910 Fixed template parameter name 2013-09-30 01:09:57 +02:00
Christophe Riccio
f6277af56f Replaced detail::type by std::numerical_limits 2013-09-30 01:06:54 +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
3b3c28a227 Added missing include for VC2005 2013-09-23 09:48:39 +02:00
Christophe Riccio
1e69dfe30e Added a quation constructor taking two axis 2013-09-22 23:37:55 +02:00
Christophe Riccio
b6f5b4121d Fixed merge 2013-09-19 21:46:51 +02:00
Christophe Riccio
843cc7bd61 Fixed eulerAngleY rotation orientation 2013-09-19 21:33:29 +02:00
Christophe Riccio
df152fa9db Updated version for next release 2013-09-18 00:28:36 +02:00
Christophe Riccio
08c95429fe Fixed build on GCC 2013-09-17 23:56:46 +02:00
Christophe Riccio
da67a79222 Removed invalid *= operators for non square matrix 2013-09-17 23:10:39 +02:00
Christophe Riccio
579ab2b7d2 Fixed const ref issue for vector types. Backport from GLM 0.9.5 branch #116 2013-09-17 23:02:04 +02:00
Christophe Riccio
0a9162e189 Fixed const ref issue for matrix types. Backport from GLM 0.9.5 branch #116 2013-09-17 22:52:37 +02:00
Christophe Riccio
55c242c15c Added GCC49 detection 2013-09-17 22:51:04 +02:00
Christophe Riccio
da6e485aad Fixed B /= B.y bug for all assignment operators of matrix classes. #116 2013-09-17 22:27:29 +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
aa0b2a5e28 Fixed ldexp and frexp implementations 2013-09-17 01:16:00 +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
cd0519d24b Optimized header inclusion of swizzle operator code. Not included when not enabled 2013-09-16 00:43:24 +02:00
Christophe Riccio
8eea3c7645 Remove tref* 2013-09-16 00:39:19 +02:00
Christophe Riccio
0a23b0a796 Added default template arguments to vector and matrix types 2013-09-15 21:00:14 +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
5d66caa7da Removed vector type functions named swizzle 2013-09-15 14:45:29 +02:00
Christophe Riccio
6838815f9f Factorized fastInversesqrt code 2013-09-15 14:39:59 +02:00
Christophe Riccio
4bd84e1a0c Added low precision specializations of inversesqrt 2013-09-15 13:36:05 +02:00
Christophe Riccio
741756f17d Added comment on implementation details 2013-09-15 12:44:11 +02:00
Christophe Riccio
1a7dfa03ea Restore value_type member to vectors 2013-09-15 12:41:43 +02:00
Christophe Riccio
79405910bb Fixed superfluous up normalization in glm::lookAt() #114 2013-09-15 04:17:10 +02:00
Christophe Riccio
ba1ccbaba2 Fixed merge 2013-09-15 03:57:12 +02:00
Christophe Riccio
fadbc78307 Reorder slow functions... still to be tested. 2013-09-15 03:31:38 +02:00
Christophe Riccio
cc02b86fb1 Fixed merge 2013-09-15 03:30:20 +02:00
Christophe Riccio
bb9cc43a6d Updated CMake instruction set selection 2013-09-15 03:09:10 +02:00
Christophe Riccio
08ada74f36 More precise C++ features detection 2013-09-11 01:06:11 +02:00
Christophe Riccio
5c84e480bf Fixed warnings generated by GLM_COMPONENT* #113 2013-09-10 00:01:25 +02:00
Christophe Riccio
c038e80e9f Optimized GTC packing functions 2013-09-09 15:16:14 +02:00