projects
/
poly2tri-c
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e357ae5
)
Fixed a wrong assertion in the visibility checking
author
Barak Itkin
<lightningismyname@gmail.com>
Sat, 30 Jun 2012 12:49:53 +0000
(15:49 +0300)
committer
Barak Itkin
<lightningismyname@gmail.com>
Sat, 30 Jun 2012 12:49:53 +0000
(15:49 +0300)
poly2tri-c/refine/visibility.c
patch
|
blob
|
history
diff --git
a/poly2tri-c/refine/visibility.c
b/poly2tri-c/refine/visibility.c
index 0ead6b024d30089303f5887e9be347306475473c..eab71edaa09256aad69017b908ac7cb9fa356245 100644
(file)
--- a/
poly2tri-c/refine/visibility.c
+++ b/
poly2tri-c/refine/visibility.c
@@
-136,7
+136,7
@@
find_point_in_polygon (P2trPSLG *polygon,
P2trPSLGIter iter;
const P2trBoundedLine *line = NULL;
- g_assert (p2tr_pslg_size (polygon) > 1);
+ g_assert (p2tr_pslg_size (polygon) >
=
1);
p2tr_pslg_iter_init (&iter, polygon);
p2tr_pslg_iter_next (&iter, &line);