Commit 9462b818 authored by jaco's avatar jaco

new windows compile warning fixed

parent 07e66a4b
...@@ -62,16 +62,6 @@ static void help() ...@@ -62,16 +62,6 @@ static void help()
<< endl; << endl;
} }
inline float calcOverlap( Rect a, Rect b )
{
Rect rectIntersection = a & b;
Rect rectUnion = a | b;
float iArea = rectIntersection.width * rectIntersection.height;
float uArea = rectUnion.width * rectUnion.height;
float overlap = iArea / uArea;
return overlap;
}
int main( int argc, char** argv ) int main( int argc, char** argv )
{ {
CommandLineParser parser( argc, argv, keys ); CommandLineParser parser( argc, argv, keys );
......
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