Commit 634fb08c authored by Johan Richard's avatar Johan Richard
Browse files

inverted writing critical lines and making polygons

parent 5de30a15
......@@ -40,10 +40,14 @@ void criticnew(int verbose)
extern struct g_cline CL;
if ( !strcmp(CL.algorithm, "SNAKE") )
{
snake(verbose);
w_critic();
}
else
{
marchingSquares(verbose);
w_critic();
cl_connectdots(verbose);
}
......
......@@ -173,7 +173,6 @@ int main(int argc, char *argv[])
if ( G.nlens > 0 )
{
criticnew(1);
w_critic();
};
// if there is only 1 clump
......
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