Commit Graph

4209 Commits

Author SHA1 Message Date
Christophe Riccio
afa193704c Fixed interactions with GLM_FORCE_NO_CTOR_INIT and default functions #366 2015-07-25 23:23:59 +02:00
Christophe Riccio
53e494bea9 Removed GTX_multiple 2015-07-25 23:23:03 +02:00
Christophe Riccio
a56a40e1f2 Added support of defaulted functions to GLM types, to use them in unions #366 2015-07-25 21:31:51 +02:00
Jesse Talavera-Greenberg
2a947b7ff1 Add GLM_META_PROG_HELPERS tests to each type
- Add new tests to the matrix types
- Add vector tests to use the static values instead of constants
- Wrap the quaternion tests in #ifdefs
- Add new tests to the simdMat4 and simdVec4 tests
2015-07-25 14:33:01 -04:00
Jesse Talavera-Greenberg
f46249620a Add pure typedefs to the SIMD types 2015-07-25 14:28:24 -04:00
Jesse Talavera-Greenberg
a8659bb767 Remove unused value_size static methods in simdQuat and simdVec4
- They didn't even have implementations
2015-07-25 14:26:55 -04:00
Jesse Talavera-Greenberg
c2b4e2a5c0 Change the value_type of simdVec4 and simdQuat to a float
- Having it as __m128 didn't quite feel consistent with vec4/quat
2015-07-25 14:25:26 -04:00
Jesse Talavera-Greenberg
4aa385a37a Change dualquat::components to 2, not 8 2015-07-25 14:21:31 -04:00
Jesse Talavera-Greenberg
3400352e81 Reverse the mat::rows and mat::cols fields
- Oops, I mixed up the row_type and col_type typedefs
2015-07-25 14:20:04 -04:00
Jesse Talavera-Greenberg
25bad4c78e Fix wrong name for mat2::columns
- It should really be mat2::cols
2015-07-25 14:17:59 -04:00
Christophe R.
644e567e09 Merge pull request #352 from shaxbee/master
Bump CMake version for interface target to 3.0 #352
2015-07-25 01:54:40 +02:00
Christophe Riccio
ba9dfc6485 Updated readme 2015-07-25 01:41:33 +02:00
Christophe R.
185ba74f6a Merge pull request #367 from plasmacel/master
std::hash specialization for glm::tdualquat #367
2015-07-25 01:39:49 +02:00
Christophe Riccio
f7751bfb06 Added support of defaulted functions to *vec* types #366 2015-07-25 01:24:03 +02:00
Thom de Villa
3b9e90c7b6 std::hash specialization for glm::tdualquat 2015-07-24 17:58:15 +02:00
Thom de Villa
5100bd76dc Merge pull request #4 from g-truc/master
update from g-truc
2015-07-24 17:40:12 +02:00
Christophe Riccio
063c5c7367 Fixed quaternion pow #346 2015-07-24 02:11:55 +02:00
Christophe Riccio
f602c8e7ad Updated _MAYBE to follow GLM conventions 2015-07-24 02:02:24 +02:00
Christophe R.
1b9872138d Merge pull request #358 from JesseTG/jtg/preprocessor-cleanup
Simplify some preprocessor declarations #358
2015-07-24 01:52:26 +02:00
Christophe R.
5eef9a648e Merge pull request #365 from dustin-biser/patch-1
Fixed GTX_norm documentation #365
2015-07-24 01:49:22 +02:00
Christophe Riccio
b55ff22719 Fixed test 2015-07-24 01:47:54 +02:00
Christophe Riccio
034d32c376 Fixed tests 2015-07-24 01:32:51 +02:00
Christophe Riccio
562ab0b559 Test fix and warning fixes #364 2015-07-24 01:24:28 +02:00
Christophe R.
e07a6d15c4 Merge pull request #359 from JesseTG/jtg/more-gitignore
Improve the .gitignore #359
2015-07-24 01:18:02 +02:00
Dustin Biser
386357f612 Update norm.hpp
Fixed documentation typo for distance2 functions
"Returns the squared distance between p0 and p1, i.e., length(p0 - p1)"
changed to
"Returns the squared distance between p0 and p1, i.e., length2(p0 - p1)"
2015-07-22 11:31:45 -04:00
Jesse Talavera-Greenberg
467c386e97 Improve the .gitignore
- More crap ignored
- Some of it may be specific to me
- I can't be the only one out there who uses Qt Creator
2015-07-20 20:25:39 -04:00
Jesse Talavera-Greenberg
9cc7dc1763 Simplify GLM_FORCE_EXPLICIT_CTOR declarations
- Instead of wrapping the declarations, use a macro for the keyword "explicit"
2015-07-20 20:18:24 -04:00
Jesse Talavera-Greenberg
c2078afc12 Simplify the constexpr declarations of the GLM_META_PROG_HELPERS
- No repetition
- Half the size
2015-07-20 20:15:45 -04:00
Jesse Talavera-Greenberg
6d1ddc8980 Define MAYBE macros for explicit and constexpr
- So we can wrap less code in macros
2015-07-20 20:11:33 -04:00
Christophe Riccio
ac21d7bdad Fixed use of libstdc++ with Clang #351 2015-07-19 17:59:21 +02:00
Christophe Riccio
9e2f6dfc7f Fixed Intel compiler build error on Linux #354 2015-07-19 17:38:41 +02:00
Christophe Riccio
1e0cf75b2f More testing 2015-07-19 16:55:27 +02:00
Christophe Riccio
f96887863d Added a heap allocation test 2015-07-19 16:41:07 +02:00
Christophe Riccio
76bd630bbd Fixed isfinite with C++98 compilers #343 2015-07-19 16:32:36 +02:00
Christophe Riccio
056d6bd95e fixed typo #344 2015-07-19 15:55:44 +02:00
Christophe Riccio
dcfddb75b8 Updated list of compiler versions 2015-07-19 02:36:53 +02:00
Christophe Riccio
9539174494 Fixed build 2015-07-19 02:07:55 +02:00
Christophe Riccio
4f7afb272f Fixed GCC build, GLM_META_PROG_HELPERS unsupported with GCC 4.6 2015-07-19 01:46:49 +02:00
Christophe Riccio
02d7be8531 Improved packing code to give vectorization a chance 2015-07-19 01:20:20 +02:00
Christophe Riccio
6887df4d39 Merge branch 'fix-type-punning' of https://github.com/cneumann/glm into union 2015-07-19 01:08:04 +02:00
Christophe Riccio
c90f7b0973 Fixed build 2015-07-19 01:04:07 +02:00
Christophe Riccio
6f1b7c24ce Fixed build 2015-07-19 00:34:59 +02:00
Christophe Riccio
12328983ae Updated changelog #349 2015-07-19 00:29:56 +02:00
Christophe Riccio
2005679652 Merge pull request #349 from JesseTG/jtg/gitignore
Add .gitignore #349
2015-07-19 00:28:49 +02:00
Christophe Riccio
38c9cd6cba Added GLM_META_PROG_HELPERS #350 2015-07-19 00:25:33 +02:00
Christophe Riccio
47deb9709c Merge pull request #350 from JesseTG/jtg/template-convenience
Add static components and prec members to all vector and quat types #350
2015-07-18 23:49:29 +02:00
Christophe Riccio
357eaf7071 Fixed warnings 2015-07-18 10:00:00 +02:00
Zbigniew Mandziejewicz
eaefcc6689 Bump CMake version for interface target to 3.0 2015-07-06 19:43:45 +08:00
Jesse Talavera-Greenberg
38f63d3943 Add static rows, cols, prec, and components fields to all matrix types 2015-07-03 15:21:11 -04:00
Jesse Talavera-Greenberg
5d05c8c1f7 Correct component amounts for simqQuat and simdVec4 2015-07-03 15:00:37 -04:00