mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-18 05:02:53 +02:00
Fix error in contains_point() port
This commit is contained in:
1 parent
3aef663f7f
commit
5f2b2c90b6
2 files changed
+4
-4
No files matched your search
+1
-1
@@ -114,7 +114,7 @@ bool
|
||||
Polygon::contains_point(const Point* point) const
|
||||
{
|
||||
// http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html
|
||||
bool result;
|
||||
bool result = false;
|
||||
Points::const_iterator i = this->points.begin();
|
||||
Points::const_iterator j = this->points.end() - 1;
|
||||
for (; i != this->points.end(); j = i++) {
|
||||
|
||||
Reference in new issue
Block a user