Commit Graph

444 Commits

Author SHA1 Message Date
Michael Krämer
308a280cd7 Add unit test with extra elements 2017-02-06 18:57:17 +01:00
Janis Born
3dd0d209ff fix identation 2017-01-13 17:21:20 +01:00
Janis Born
1020e8b41a remove TriMesh test case for Midpoint subdivision 2017-01-13 16:56:29 +01:00
Jan Möbius
89df08faad Wrong type for polymesh 2017-01-13 10:24:15 +01:00
Jan Möbius
d70525af41 Polymesh version for midpoint 2017-01-13 09:46:31 +01:00
Jan Möbius
6937f3725e Added unittest for midpoint algorithm 2017-01-13 09:29:40 +01:00
Jan Möbius
00fa73fa4c Switched warning level for google test framework 2017-01-11 08:13:59 +01:00
Martin Schultz
db47b38b02 Added boundary check for edge properties of triangulated meshes 2016-12-14 15:11:40 +01:00
Martin Schultz
df1442283f Added unittests for PolyMesh to Trimesh conversion
custom properties and vertices / faces are tested
2016-12-14 13:33:56 +01:00
Martin Schultz
b1301a844f Added first draft of unittests for trimesh_to_polymesh conversion. 2016-12-08 20:25:23 +01:00
Jan
8e81de4045 Fixed error with VS2013 2016-11-07 20:31:30 +01:00
Jan Möbius
7175cd8c6d Several warnings 2016-11-07 15:10:23 +01:00
Jan Möbius
d966d44a3f More fixes including Unit tests 2016-11-07 14:52:07 +01:00
Jan Möbius
f377c86a43 Merge branch 'fixOBJWriterMissingTexcoords' into 'master'
added code to write faceTexCoords to obj writer.

fixes #25 
* Added accessor functions for HalfEdgeHandles and faceTexCoords to base exporter and exporter template.
* Added functionality to store FaceTexCoords to objwriter
* Added unittest to write and read faceTexcoords with a test obj file

See merge request !73
2016-10-27 14:31:59 +02:00
Jan Möbius
b7aabbd912 Fixed some warnings 2016-10-24 14:01:06 +02:00
Jan Möbius
17b91da501 Use stdint.h for unittest 2016-09-19 14:17:59 +02:00
Jan Möbius
4f209d9f35 Missing ifdef 2016-09-16 09:50:44 +02:00
Jan Möbius
18e86a7f2b Missing header 2016-09-16 09:48:42 +02:00
Hans-Christian Ebke
f38ce2ed5e Added unit test to trigger GCC alignment bug. See #32. 2016-09-13 17:59:30 +02:00
Hans-Christian Ebke
a705d57bd0 PropertyManager: Add C++11 range-based set_range() version. 2016-09-12 16:57:33 +02:00
xan
8445bad3c3 Fix undefined MSVC macro warning 2016-08-14 09:21:31 +02:00
Martin Schultz
80192d945b added code to write faceTexCoords to obj writer.
fixes #25
2016-06-29 16:58:59 +02:00
Jan Möbius
17217c405d Merge branch 'fixDoubleSwap' into 'master'
Fix double swap



See merge request !54
2016-04-14 15:42:24 +02:00
Janis Born
4e2ae5be3e create unit tests for C++11 PropertyManager features 2016-04-14 13:34:23 +02:00
Martin Schultz
0a0d7e1fad fix c++98 compiler error on gcc 2016-04-14 13:06:17 +02:00
Martin Schultz
7e1d9e0c16 adds unittests for binary serialization of strings 2016-04-14 12:54:50 +02:00
Jan Möbius
697a205389 Added check for property iterators 2016-04-07 15:51:22 +02:00
Martin Schultz
781063a3c6 * added texCoord3d functions to objloader
* added unittest for texcoords3d
* added texcoord3d support to baseimporter
2016-01-05 14:21:46 +01:00
Jan Möbius
1b3c350efb Get changes from master for this branch to test cpp11 stuff
Merge branch 'master' into VS2015_test
2015-11-25 09:47:51 +01:00
Jan Möbius
a1ccdd69f8 Merge branch 'vec2_issues' into 'master'
Vec2 issues



See merge request !25
2015-11-23 16:48:43 +01:00
Jan Möbius
509f62e118 Try to get c++11 on visual studio 2015 2015-11-23 15:54:22 +01:00
Janis Born
de46a56b75 add .gitignore entries for junk files generated by running unit tests 2015-11-23 12:30:16 +01:00
Janis Born
4e9330a87d add unit tests for basic vector arithmetic 2015-11-23 12:22:11 +01:00
Jan Möbius
6e71f1bd57 Added Unittest for vec2i and trimesh 2015-11-23 10:57:30 +01:00
Jan Möbius
f2d83f7971 Added Unittest for vec2i and polymesh 2015-11-23 10:57:20 +01:00
Hans-Christian Ebke
61fe9dabef C++11: Making sure VectorT construction from iterator is only instantiated for actual iterators. 2015-11-19 17:59:37 +01:00
Hans-Christian Ebke
14dffb83ce C++11: Made VectorT's constructor from array more general. 2015-11-19 17:31:54 +01:00
Hans-Christian Ebke
c8b5dea249 C++11: Made a unit test C++98 compatible. 2015-11-19 16:56:23 +01:00
Hans-Christian Ebke
8d24e6bb67 C++11: Moved C++11 specific unit test into #ifdef. 2015-11-19 16:44:14 +01:00
Hans-Christian Ebke
54d14e54c3 Purged another warning in unit tests. 2015-11-19 15:23:43 +01:00
Hans-Christian Ebke
498e4d033f Purged warnings in unit tests. 2015-11-19 15:21:00 +01:00
Hans-Christian Ebke
580e5526d8 C++11: VectorT now also accepts non-arithmetic types as Scalar. 2015-11-19 15:20:41 +01:00
Hans-Christian Ebke
4c36fcfee8 Added more unit tests to VectorT. 2015-11-19 14:11:44 +01:00
Hans-Christian Ebke
07fa145057 C++11: Fixed VectorT::normalize_cond() implementation. 2015-11-19 14:09:03 +01:00
Hans-Christian Ebke
d511f65739 Added some more basic linear algebra unit tests for VectorT. 2015-11-19 10:27:11 +01:00
Hans-Christian Ebke
287da20912 C++11: Reimplemented VectorT without macros. 2015-11-18 15:11:48 +01:00
Jan Möbius
bbf51e4cc2 Fixed warnings in unit tests due to unused variables 2015-11-11 14:43:32 +01:00
Hans-Christian Ebke
dfcc98c845 C++11: Do CMake-less C++11 checking. 2015-11-10 15:00:19 +01:00
Hans-Christian Ebke
c2c627ed4d C++11: Added _htmlColor literal operator.
Allows inline specification of colors in HTML syntax.
2015-11-09 18:51:00 +01:00
Hans-Christian Ebke
97ccb1d641 Modernized VectorT constructors in C++11 branch.
* Less redundancy.
* We can now make some of the VectorT constructors constexpr which is
useful for other features.
2015-11-09 18:46:39 +01:00