Commit Graph

547 Commits

Author SHA1 Message Date
Groove
af8964a78f Fixed build 2018-07-27 00:11:35 +02:00
Groove
76707df1f1 Fixed comparing floating point with == or != is unsafe error 2018-07-27 00:02:35 +02:00
Groove
4dce0e338d Added vector relational tests 2018-07-26 23:33:10 +02:00
Groove
c3c8b73c57 Use constexpr only with C++14 compiler 2018-07-24 23:41:55 +02:00
Christophe Riccio
988858145c Added intersectLineTriangle tests 2018-07-23 20:42:38 +02:00
Christophe Riccio
57b03c92ae Added force tests 2018-07-23 20:25:38 +02:00
Christophe Riccio
0dcb1e8a90 Removed extra GLM_FORCE_MESSAGES 2018-07-23 18:56:23 +02:00
Christophe Riccio
96bf3c0d95 Removed GLM_FORCE_SWIZZLE and GLM_FORCE_UNRESTRICTED_GENTYPE restriction 2018-07-23 18:53:10 +02:00
Christophe Riccio
508d0bcbb1 Fixed defaulted constructor and fixed anonymous struct detection and use 2018-07-23 16:02:21 +02:00
Groove
1183d39f43 Fixed VC12 build, added VC 14 test 2018-07-15 19:15:49 +02:00
Christophe Riccio
61e68f2667 Fixed swizzle functions and operators tests 2018-07-14 19:56:13 +02:00
Christophe Riccio
a23dd2f800 Clean up CMake project, added arithmetic operators to swizzle operators types 2018-07-14 19:14:08 +02:00
Christophe Riccio
6acd30c6c5 Fixed Clang build 2018-07-14 17:58:29 +02:00
Christophe Riccio
4db3abe6b5 Refactored GLM_FORCE_MESSAGES, added swizzle operators and functions tests 2018-07-14 17:56:40 +02:00
Groove
f27a24de0e Refactor GLM messages and build targets 2018-07-14 00:17:46 +02:00
Groove
5c543e65f8 Fixed build 2018-07-12 21:03:14 +02:00
Groove
5273e1001c Fixed test 2018-07-12 20:18:18 +02:00
Groove
c7b6cf56e3 Fixed swizzle functions and tests 2018-07-12 00:36:59 +02:00
Groove
5620858a14 Fixed build 2018-07-11 22:45:18 +02:00
Groove
b76f938505 Added C++2a detection and fixed constexpr tests 2018-07-11 21:59:25 +02:00
Groove
16106b2e3e Added C++17 detection, added VC language version detection, clean up alignment type, clean up swizzle operator detection 2018-07-11 02:53:22 +02:00
Groove
c5386c05f9 More constexpr experiments 2018-07-10 22:49:48 +02:00
Groove
5ddfa3f8a9 More constexpr test 2018-07-10 22:17:31 +02:00
Groove
50bd4b0711 Initial work on more constexpr support in GLM 2018-07-10 22:07:03 +02:00
Christophe Riccio
e48c5ae892 More use of initializer lists 2018-07-10 11:52:00 +02:00
Groove
f95abf2c27 Added more constexpr tests #783 2018-07-10 00:06:28 +02:00
Groove
c06993191f Added initial constexpr tests #783 2018-07-09 23:54:10 +02:00
Groove
13ef0f92bc Added detection of Visual C++ 2017 toolsets 2018-07-09 23:23:24 +02:00
Groove
f889ac0bfe Added initial constexpr tests #783 2018-07-09 21:55:19 +02:00
Groove
398e66ac32 Redesigned constexpr support which requires disable GLM SIMD on Visual C++ #783 2018-07-09 21:44:28 +02:00
Groove
cdcc9467d0 Fixed core_type_vec4 tests 2018-07-09 17:45:55 +02:00
Groove
3a1787795e Fixed warning 2018-07-09 09:19:42 +02:00
Groove
213a66f9bf - Added missing vec1 based constructors 2018-07-07 12:04:27 +02:00
Groove
ec261bd21b Added vec1 based constructors to vec4 with tests and fixed build 2018-07-06 22:22:09 +02:00
Groove
f5e27805af Added vec1 based constructors to vec3 with tests and fixed build 2018-07-06 21:08:06 +02:00
Groove
97ad14cf82 Added vec1 based constructors to vec2 zith tests and started vec3 2018-07-05 15:21:34 +02:00
Christophe Riccio
11c26f9edb Fixed build problems due to printf and std::clock_t #778 2018-06-18 12:40:00 +02:00
Christophe Riccio
1139f10a59 Fixed build 2018-06-02 00:25:58 +02:00
Christophe Riccio
b4981e56fa Added bitfieldDeinterleave with tests 2018-06-01 18:01:35 +02:00
Christophe Riccio
b5632f5a18 Added bvec3_ctor test 2018-05-03 11:49:38 +02:00
Christophe
2fd7333dd3
Merge pull request #725 from elect86/master
Fixed core_func_common.cpp unsigned test #725
2018-03-17 10:59:03 +01:00
Giuseppe Barbieri
b2a1d7a293
Update core_func_common.cpp 2018-01-26 15:08:02 +01:00
Christophe Riccio
26c395c78b Fixed build 2018-01-04 17:14:27 +01:00
Christophe Riccio
85811f3860 Fixed test 2018-01-04 15:54:49 +01:00
Christophe Riccio
1190ae0b0e Added test 2017-11-22 18:36:36 +01:00
Kai Dietrich
708a886bb0 Add a CXX11-conditional test for exp2 precision with larger exponents 2017-10-26 09:41:15 +02:00
Christophe Riccio
fcbedf5058 Fixed glm::step that didn't work with scalars #684 2017-10-22 16:58:09 +02:00
Christophe Riccio
d550798ca0 Added EXT_vec1: *vec1 types 2017-08-21 10:36:27 +02:00
Christophe Riccio
7466c4a9e7 Fixed Visual C++ warnings 2017-08-18 20:08:36 +02:00
Christophe Riccio
f654900a01 Fixed warnings 2017-08-18 16:54:53 +02:00
Christophe Riccio
c4794851aa Fixed /W4 warnings 2017-08-18 13:48:47 +02:00
Christophe Riccio
2c2d3931ee Fixed Visual C++ /W4 warnings 2017-08-18 12:59:16 +02:00
Christophe Riccio
e9f210c85f Enable /WX, warning as error on Visual Studio 2017-08-17 19:51:03 +02:00
Christophe Riccio
1cead1904a Fixed matrix test using fast math with Clang 2017-08-17 12:24:23 +02:00
Christophe Riccio
3a560f3fd5 Minimum perf run in debug build 2017-08-17 11:55:50 +02:00
Christophe Riccio
e37cf6e47f Fixed GCC 7.1.0 failing tests #666 2017-08-17 00:08:37 +02:00
Christophe Riccio
22fe828159 Improved GTC_type_precision and added issues regarding SIMD and constexpr interaction #653 2017-08-16 22:35:29 +02:00
Christophe Riccio
cdb28edcaa Added test for inheritance #650 2017-08-16 18:44:20 +02:00
Christophe Riccio
faf1da52b7 Renamed P (for precision) template argument to Q (for qualifier) 2017-08-16 01:22:50 +02:00
Christophe Riccio
e76fca75a0 More consistent coding style 2017-08-15 22:04:24 +02:00
Christophe Riccio
d1afe662be More consistent coding style 2017-08-15 21:59:47 +02:00
Christophe Riccio
a805fb9d68 Renamed precision enum to qualifier 2017-08-15 21:23:47 +02:00
Christophe Riccio
ac3abfdac7 Replaced vecType template argument by vec template 2017-08-15 19:07:25 +02:00
Christophe Riccio
da84db5481 Replaced vecType by vec 2017-08-15 17:32:36 +02:00
Christophe Riccio
78e06f815b Fixed clang test 2017-08-10 03:23:00 +02:00
Christophe Riccio
b936761960 Fixed warnings 2017-08-09 22:15:01 +02:00
Christophe Riccio
2cc0c53da7 Fixed warnings 2017-08-08 23:19:16 +02:00
Christophe Riccio
f445a24f82 Fixed test warnings 2017-08-08 22:44:13 +02:00
Christophe Riccio
d712ac930f Fixed test build 2017-08-08 21:33:57 +02:00
Christophe Riccio
5a747d2ae5 Fixed warnings 2017-08-08 20:28:37 +02:00
Christophe Riccio
32054a8fdf Fixed warnings with -Weverything 2017-08-08 15:17:25 +02:00
Christophe Riccio
0f34103f4f Fixed warnings with -Weverything 2017-08-08 15:01:07 +02:00
Christophe Riccio
97ac535144 Fixed warnings with -Weverything 2017-08-08 14:59:11 +02:00
Christophe Riccio
d799c282db Fixed warnings 2017-08-08 14:25:06 +02:00
Christophe Riccio
5ada4dbd65 Fixed exponential tests 2017-08-07 03:53:00 +02:00
Christophe Riccio
01bac6a524 Improved exponential funtion test coverage 2017-08-07 03:35:21 +02:00
Christophe Riccio
cedc72e07a Fixed log test 2017-08-07 03:17:46 +02:00
Christophe Riccio
45a716b893 Fixed epsilonEqual build 2017-08-07 03:18:21 +02:00
Christophe Riccio
d63aa4ea85 Fixed build 2017-08-06 23:43:53 +02:00
Christophe Riccio
384dab02e4 Reduce the number of warnings with -Weverything #646 2017-08-06 23:00:05 +02:00
Christophe Riccio
e4ffe16bed Revert "Fixed vec4 SIMD constexpr #653"
This reverts commit 950d226154.
2017-08-06 15:49:50 +02:00
Christophe Riccio
950d226154 Fixed vec4 SIMD constexpr #653 2017-07-26 02:06:33 +02:00
Christophe Riccio
c933f6e591 Clean up GLM_FORCE_NO_CTOR_INIT and fixed tests 2017-07-25 22:15:55 +02:00
Christophe Riccio
f2cb4a3fdf Fixed vec1 test 2017-07-25 21:23:25 +02:00
Christophe Riccio
9443d8d9ca Added length constexpr test #657 2017-07-24 13:17:00 +02:00
Christophe Riccio
83602bdea4 - Fixed GLM_FORCE_SIZE_T_LENGTH and add test coverage #624 2017-06-04 10:50:47 +02:00
Christophe Riccio
4875f79eb0 Removed old compiler version 2017-01-20 22:42:53 +01:00
Christophe Riccio
39f775fa6c Merged 0.9.8 branch 2017-01-07 12:15:08 +01:00
Christophe Riccio
4e267b1b4f Fixed Visual C++ internal error when declaring a global vec type with siwzzle expression enabled #594 2017-01-04 23:56:47 +01:00
Christophe Riccio
c2fe3fccf6 Use length_t instead of int for vec and mat lengths #584 2016-12-30 20:05:04 +01:00
Christophe Riccio
4dd748f380 Renamed tvec into vec 2016-12-30 00:03:34 +01:00
John McFarlane
506a487d24 parameterize number of dimensions of vector in tvec<D, T, P>
- specializes for 1, 2, 3 and 4-dimensional vector types
  which are then aliased as tvec1, tvec2, tvec3 and tvec4
- requires C++11 aliases; breaks compatability with C++03
- tested on:
  - clang-3.5.2, clang-3.8.0
  - gcc 4.8.5, gcc 5.4.1, gcc 6.2.0

TODO:
- still uses template template parameters - most can probably be removed
- some definitions might now be de-duplicated
2016-12-28 17:07:12 -08:00
Christophe Riccio
dd48b56e44 Updated list of supported compilers 2016-12-02 01:14:36 +01:00
Christophe Riccio
2dda5af72c Fixed GCC 4.5 and older build #566 2016-12-01 23:05:43 +01:00
Christophe Riccio
2ea3cd5d7b Fixed GLM test warning 2016-11-24 21:21:54 +01:00
Christophe Riccio
f26628f661 Fixed GLM test warning 2016-11-24 21:19:05 +01:00
Christophe Riccio
3cdb61c4a0 Fixed GLM test warning 2016-11-24 21:16:43 +01:00
Christophe Riccio
bb1debc9e1 Fixed GLM test warning 2016-11-24 21:16:02 +01:00
Christophe Riccio
d39749d1d6 Fixed GLM test warning 2016-11-24 21:12:37 +01:00
Christophe Riccio
feef0fb5b9 Fixed Visual C++ 2013 test build 2016-11-20 23:21:14 +01:00