Commit Graph

249 Commits

Author SHA1 Message Date
Pierre Dejoue 7f8c4c5e4c Rename local index for readability 2020-08-06 19:36:50 +02:00
Pierre Dejoue 3e583f5eeb Fix linux build action 2020-08-06 19:36:50 +02:00
Jan Niklas Hasse 6c184d10b4 Use nullptr instead of NULL or 0 2020-06-14 20:14:58 +02:00
Jan Niklas Hasse f5f9d33ea9 Add simple Doxyfile 2020-06-04 22:40:09 +02:00
Jan Niklas Hasse f16f016ad3 Remove Azure Pipelines config 2020-05-05 13:31:21 +02:00
Jan Niklas Hasse 722ddf7235
Add GitHub Actions configuration (#16) 2020-05-05 13:29:33 +02:00
Martin Dobias e66d045060 Fix #11 - regression causing crash when abs(p1.y - p2.y) < 1e10 (#12)
This reverts commit e0ba327ed8.

While the orignal commit silences a compiler warning, it introduces incorrect
behavior in Edge constructor that causes crash later during triangulation.

See #11 for an example of a simple polygon that would cause crash
2020-01-20 10:19:20 +01:00
Jan Niklas Hasse e6e63dd29e Update waf to 2.0.19 2019-11-30 14:03:43 +01:00
Jan Niklas Hasse 5a171da044 Add missing include for GCC 9.1 2019-06-11 12:06:01 +02:00
Jan Niklas Hasse 3a2db01407 Create path for TestbedFilesTest relative to build folder 2019-03-12 13:38:06 +01:00
Jan Niklas Hasse 0898bb217d Add function IsDelaunay to check if results are valid 2019-02-21 14:42:20 +01:00
Jan Niklas Hasse 96b08ee75c Add new function Triangle::CircumcicleContains 2019-02-21 14:34:37 +01:00
Jan Niklas Hasse e9454880fb
Set up CI with Azure Pipelines (#7) 2019-01-25 00:20:39 +01:00
Jan Niklas Hasse 48f545ca2a Meson: Add poly2tri_dep variable 2018-09-26 11:09:14 +02:00
Jan Niklas Hasse a41b316ace Add tasks.json for VS Code 2018-09-11 13:02:47 +02:00
Jan Niklas Hasse 4973f2e77e Change BSD-3 license formatting a little bit so that GitHub detects it 2018-09-11 13:00:49 +02:00
Jan Niklas Hasse 9c8b47486d Update project URL and copyright year 2018-09-11 12:53:31 +02:00
Jan Niklas Hasse e0ba327ed8 Do not compare doubles with == 2018-08-21 13:07:06 +02:00
Jan Niklas Hasse 0105437ff3 Add simple CMakeLists.txt 2018-08-13 14:46:34 +02:00
Jan Niklas Hasse a9d2cf8636 Add very simple unit test 2018-05-28 19:55:02 +02:00
Jan Niklas Hasse 1271d6b848 Overload operator<< for Point 2018-05-28 13:56:27 +02:00
Jan Niklas Hasse 66ff955252 Remove unused parameter from CreateAdvancingFront, fix #3 2018-04-13 19:29:10 +02:00
Jan Niklas Hasse 1ed5e089c5 Include shapes.h and cmath instead of math.h 2018-04-13 19:16:30 +02:00
Jan Niklas Hasse 001b5cd9d5 Settings for VS Code 2018-04-13 19:15:44 +02:00
Jan Niklas Hasse 053fce6a63 Add Meson build file 2018-03-13 16:04:11 +01:00
Jan Niklas Hasse f0a16419c5 Throw an exception instead of assert(false) for repeat points 2018-02-28 17:34:54 +01:00
Jan Niklas Hasse 76b3b53bc6 Update waf to 1.8.20 2016-04-13 17:56:42 +02:00
Jan Niklas Hasse f52c0c1c0d Remove unnecessary NULL check 2015-01-27 02:04:39 +01:00
Jan Niklas Hasse 8193397946 Add M_PI for C99 2014-08-12 22:24:09 +02:00
Jan Niklas Hasse 4f6fca0f62 Port from GLFW 2 to 3 2014-08-12 22:14:01 +02:00
Jan Niklas Hasse d5ecc71f74 Make example commands runnable from project dir 2014-08-12 22:13:13 +02:00
Jan Niklas Hasse fe48835009 Add IOKit on Mac
See http://code.google.com/p/poly2tri/issues/detail?id=50
2014-02-25 22:21:32 +01:00
Jan Niklas Hasse feab1de1bc Newline at end of file 2014-01-22 17:04:49 +01:00
Jan Niklas Hasse 21f20031a8 Merge pull request #1 from Giemsa/definition-refactoring
modify definitions(for more high performance and safety)
2014-01-22 07:38:27 -08:00
Giemsa d84fb6f6d5 fix some problems 2014-01-22 11:01:45 +09:00
Giemsa b5abae7c15 modify definitions(for more high performance and safety) 2014-01-21 21:38:22 +09:00
Mason Green 91d1203c3a fixed SweepContext ctor 2013-05-23 20:08:46 +02:00
Mason Green e662a5c446 changed inequality 2013-05-23 20:05:38 +02:00
Mason Green d5b79b043b fixed SweepContext::MeshClean 2013-05-23 19:59:51 +02:00
Jan Niklas Hasse 47a9c6e038 remove trailing whitespace and convert to unix line endings 2012-09-05 18:41:47 +02:00
Jan Niklas Hasse b4abf3a2b2 ignore waf files 2012-09-05 18:36:20 +02:00
Jan Niklas Hasse 58793eda10 remove unnecessary ctors and use initializer list 2012-08-27 19:24:14 +02:00
Jan Niklas Hasse 856acda129 clean up 2012-08-21 17:46:19 +02:00
Jan Niklas Hasse a419d96a60 improve formatting 2012-08-21 17:43:22 +02:00
Jan Niklas Hasse e5eed47e40 convert README to Markdown 2012-08-21 17:32:58 +02:00
Jan Niklas Hasse 34ff2c0ec3 Merge branch 'master' of github.com:jhasse/poly2tri 2012-08-21 17:15:06 +02:00
Jan Niklas Hasse 293108fcdb fix compiler warning (also pass by value since it's faster for PODs) 2012-08-21 15:05:48 +02:00
Jan Niklas Hasse 163e504e21 fix compiler warning and remove trailing whitespace 2012-08-18 17:41:03 +02:00
Jan Niklas Hasse f4f6ab5ab1 fix compiler warnings about size_t to int conversion 2012-08-17 23:23:36 +02:00
Jan Niklas Hasse c08527deb3 fixed p2t::Point inequility operator 2012-07-12 20:00:30 +02:00