Commit 9d8118de authored by songyuncen's avatar songyuncen Committed by songyuncen

build failed, trailing whitespace.

parent e0b7389d
...@@ -43,8 +43,7 @@ ...@@ -43,8 +43,7 @@
namespace cv namespace cv
{ {
// inner product
// inner product
static float innerProduct(Point2f &v1, Point2f &v2) static float innerProduct(Point2f &v1, Point2f &v2)
{ {
return v1.x * v2.y - v1.y * v2.x; return v1.x * v2.y - v1.y * v2.x;
...@@ -58,7 +57,7 @@ static void findCircle3pts(Point2f *pts, Point2f &center, float &radius) ...@@ -58,7 +57,7 @@ static void findCircle3pts(Point2f *pts, Point2f &center, float &radius)
if (innerProduct(v1, v2) == 0.0f) if (innerProduct(v1, v2) == 0.0f)
{ {
// v1, v2 colineation, can not determine a unique circle // v1, v2 colineation, can not determine a unique circle
// find the longtest distance as diameter line // find the longtest distance as diameter line
float d1 = (float)norm(pts[0] - pts[1]); float d1 = (float)norm(pts[0] - pts[1]);
float d2 = (float)norm(pts[0] - pts[2]); float d2 = (float)norm(pts[0] - pts[2]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment