474 Commits

Author SHA1 Message Date
Christophe Riccio
7193cd2c3a - Added constexpr for *vec*, *mat*, *quat* and *dual_quat* types #493 2016-05-05 10:38:51 +02:00
Christophe Riccio
93612791cd Removed Apple specific check for LLVM versions 2016-05-04 18:46:59 +02:00
Christophe Riccio
20da5a25db Improved OpenMP support detection for Clang, GCC, ICC and VC 2016-05-04 18:04:44 +02:00
Christophe Riccio
ca3abd6e93 Fixed CUDA support #499, #500, #501 2016-05-04 17:05:02 +02:00
Christophe Riccio
13a997d4e1 Fixed CUDA support #499, #500, #501 2016-05-04 17:03:38 +02:00
Christophe Riccio
affd5f3ba0 Fixed CUDA compiler error in type_vec4.inl #504 2016-05-04 16:35:57 +02:00
Christophe Riccio
1f71f6fb3a Improved SIMD and swizzle operators interactions with GCC and Clang, Added raw SIMD API. 2016-05-03 23:57:41 +02:00
Christophe Riccio
1becd76c5f Fixed build 2016-05-01 12:39:16 +02:00
Christophe Riccio
83999c749a Reorganized SIMD code 2016-05-01 12:29:11 +02:00
Christophe Riccio
96963f88cc Single file for simd specialization 2016-05-01 05:00:13 +02:00
Christophe Riccio
5f05a5e953 Clean up inverse SSE code 2016-05-01 03:42:47 +02:00
Christophe Riccio
a90ef1b45e Fixed warning 2016-05-01 01:31:43 +02:00
Christophe Riccio
b53cc5d098 Fixed build on non-VC compilers 2016-05-01 01:26:42 +02:00
Christophe Riccio
2f9fc55d88 More experiments to improve SIMD support 2016-05-01 01:12:22 +02:00
Christophe Riccio
e9bb34fb78 - Fixed Visual C++ SIMD instruction set automatic detection in 64 bits 2016-04-30 16:27:19 +02:00
Christophe Riccio
8cf76f049b Fixed Visual C++ SIMD instruction set automatic detection in 64 bits 2016-04-30 16:23:55 +02:00
Christophe Riccio
939eb940d4 Renamed GLM_RESTRICT, still unused in the code base 2016-04-30 15:00:37 +02:00
Christophe Riccio
79643cf4fa Merge 0.9.7 branch 2016-04-24 14:58:57 +02:00
Christophe Riccio
9770c9f73d Fixed uaddCarry warning #497 2016-04-24 14:56:44 +02:00
Hauke Rehfeld
c479e444a4 fix: cuda can use anonymous unions 2016-04-15 12:44:36 +02:00
Hauke Rehfeld
30f014472d add: CUDA in setup.hpp 2016-04-15 12:38:08 +02:00
Eric Engestrom
ca46062bea Fix spelling mistakes 2016-04-03 00:50:25 +01:00
Christophe Riccio
66b714c418 Finishing up removing GLM_FORCE_SIZE_FUNC define and passing by copy scalars 2016-03-23 02:01:16 +05:30
Christophe Riccio
bbe076549a Improved coding style consistency, scalars are passed by copy 2016-03-19 17:10:42 +01:00
Christophe Riccio
1d9f8408e6 Merge 0.9.7 branch 2016-03-19 12:53:27 +01:00
Sami Kankaristo
578c4f4f9f Rename tvec1 parameters from scalar to v1/v2 2016-03-19 12:35:12 +01:00
Sami Kankaristo
8662a567b2 Add const & to POD to match other functions in the class 2016-03-19 12:34:09 +01:00
Sami Kankaristo
b7fef63ef8 Remove const & from POD to match other functions in class 2016-03-19 12:33:42 +01:00
Sami Kankaristo
d3036fd010 Add missing operator function definitions 2016-03-19 12:32:42 +01:00
Sami Kankaristo
785c8892d9 Add missing const to declaration 2016-03-19 12:32:24 +01:00
Christophe Riccio
6c61c332f4 Fixed missing GLM_PLATFORM_CYGWIN declaration #495 2016-03-19 12:31:19 +01:00
Christophe Riccio
61d58b0296 Fixed missing GLM_PLATFORM_CYGWIN declaration #495 2016-03-19 12:28:18 +01:00
Sami Kankaristo
99d3486e1f Rename tvec1 parameters from scalar to v1/v2 2016-03-15 03:24:53 +02:00
Sami Kankaristo
236fed9d93 Add const & to POD to match other functions in the class 2016-03-15 02:21:42 +02:00
Sami Kankaristo
1e192be370 Remove const & from POD to match other functions in class 2016-03-15 02:20:15 +02:00
Sami Kankaristo
798e4f0e78 Remove (old?) operator/ member functions
These don't seem to have matching definitions and they conflict with
similar functions in the glm namespace (in the same header files).
2016-03-13 21:32:41 +02:00
Sami Kankaristo
8e7a3a9053 Add missing operator function definitions 2016-03-13 21:32:33 +02:00
Sami Kankaristo
b968defd22 Add missing const to declaration 2016-03-13 21:32:06 +02:00
Christophe Riccio
234d7d4ba9 Simplify code removing GLM_FORCE_SIZE_FUNC, GLM_META_PROG_HELPERS, GLM_STATIC_CONST_MEMBERS and 'type' type trait. Added experiments for GTX_type_trait 2016-03-13 12:56:26 +01:00
Sami Kankaristo
e60273daff Add missing vec4 operator definitions
Also rename the parameters to match similar functions in other vector
classes.
2016-03-12 20:33:53 +01:00
Sami Kankaristo
3ec43e9522 Fix incorrect declaration (now matches definition) 2016-03-12 20:33:49 +01:00
Sami Kankaristo
a848fa69be Remove duplicate function declarations 2016-03-12 20:33:45 +01:00
Christophe Riccio
95cf1825d5 Merge branch 'master' of https://github.com/g-truc/glm 2016-03-12 20:31:29 +01:00
Sami Kankaristo
3860fbaa9a Add missing vec4 operator definitions
Also rename the parameters to match similar functions in other vector
classes.
2016-03-12 18:34:50 +02:00
Sami Kankaristo
780d5f403b Fix incorrect declaration (now matches definition) 2016-03-12 18:31:43 +02:00
Sami Kankaristo
5222e0baca Remove duplicate function declarations 2016-03-12 18:30:07 +02:00
Christophe Riccio
b14e39b4cf Added target to build optional static and dynamic GLM library 2016-03-12 01:32:40 +01:00
Christophe Riccio
6e5f42bd28 Fixed error message type 2016-03-06 12:52:34 +01:00
Christophe Riccio
f48fe286ad Consolidate setup options in setup.hpp 2016-03-06 03:36:20 +01:00
Paul Konstantin Gerke
239cf70ade Fixed: outerProduct was defined incorrectly for unmatched vecX types. E.g. outerProduct(vec2, vec4) did not succeed because the matrix return types were wrong. The computing function seemed fine. I used https://en.wikipedia.org/wiki/Outer_product as reference on what the number of columns/rows ''should'' be and fixed it so that it matches the description from wikipedia
Added: tests for outerProduct with unmatched vector dimensions (actually testing all combinations now)
2016-03-05 23:51:20 +01:00