summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren <darrensapalo@users.noreply.github.com>2014-11-14 00:53:21 +0800
committerDarren <darrensapalo@users.noreply.github.com>2014-11-14 00:53:21 +0800
commit61f48f34b6c30d861fcf49714590739cb7ebc1fd (patch)
tree6238fad52265527094a13be7a99f829715ef34cf
parent0ca44c2907038169b20530ee5f9a515a9c40fd1b (diff)
Update quad-segmentation.cpp
Removed center initialization that also had incorrect data type.
-rw-r--r--quad-segmentation.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/quad-segmentation.cpp b/quad-segmentation.cpp
index a078308..17428a1 100644
--- a/quad-segmentation.cpp
+++ b/quad-segmentation.cpp
@@ -96,8 +96,6 @@ int main()
std::cout << "The object is not quadrilateral!" << std::endl;
return -1;
}
-
- center = Point(0, 0);
// Get mass center
for (int i = 0; i < corners.size(); i++)