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
Hans-Christian Ebke
d85fe40f59
Added build support for C++11.
...
FindCXX11.cmake copied from OpenFlipper.
2015-11-09 18:04:43 +01:00
Martin Schultz
4c80b7e52f
* added more unittests for c++11 ranges vvrange and vertexrange
2015-10-01 16:27:12 +02:00
Martin Schultz
c8316a013e
* added basic vvrange testcase that checks if a mesh with only one vertex has an empty vvrange.
2015-09-29 17:12:43 +02:00
Martin Schultz
1e7fe6317d
fixes #2
...
* removes -ansi since -ansi enforces older c++ standard
2015-09-29 15:12:38 +02:00
Matthias Möller
fe86a44c1d
add custom property (with pod data type) support for binary ply files
...
closes #2496
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1331 fdac6126-5c0c-442c-9429-916003d36597
2015-08-28 09:20:26 +00:00
Matthias Möller
d00936aa14
add unittest for write stla
...
refs #2525
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1329 fdac6126-5c0c-442c-9429-916003d36597
2015-08-21 12:37:48 +00:00
Matthias Möller
ec436cd398
cleanup off writer output file
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1327 fdac6126-5c0c-442c-9429-916003d36597
2015-08-21 12:11:16 +00:00
Matthias Möller
1d28bd15db
add obj writer unittest
...
refs #2525
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1326 fdac6126-5c0c-442c-9429-916003d36597
2015-08-21 12:10:56 +00:00
Matthias Möller
e663fb9bac
fix crash when saving a mesh and a custom property was removed before
...
extend unittest for this case
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1323 fdac6126-5c0c-442c-9429-916003d36597
2015-07-28 18:16:16 +00:00
Jan Möbius
fc4089ff3b
Fixed bug in polymesh normal computation. Added more unittests for normal computation.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1316 fdac6126-5c0c-442c-9429-916003d36597
2015-07-25 19:28:39 +00:00
Jan Möbius
305aa1b244
Get rid of some windows preprocessor warnings
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1315 fdac6126-5c0c-442c-9429-916003d36597
2015-07-24 13:19:40 +00:00
Jan Möbius
ac23cb90bb
Fixed warnings
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1301 fdac6126-5c0c-442c-9429-916003d36597
2015-06-25 10:45:05 +00:00
Jan Möbius
afad5ef624
Added a test to check if we can continue to iterate from end after adding more vertices.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1296 fdac6126-5c0c-442c-9429-916003d36597
2015-06-22 13:55:47 +00:00