Hiroyuki Ikezoe
ikezo****@users*****
2006年 11月 24日 (金) 16:03:09 JST
Index: tomoe/recognizer/tomoe-recognizer-simple-logic.c diff -u tomoe/recognizer/tomoe-recognizer-simple-logic.c:1.24 tomoe/recognizer/tomoe-recognizer-simple-logic.c:1.25 --- tomoe/recognizer/tomoe-recognizer-simple-logic.c:1.24 Fri Nov 24 15:20:01 2006 +++ tomoe/recognizer/tomoe-recognizer-simple-logic.c Fri Nov 24 16:03:09 2006 @@ -17,7 +17,7 @@ * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Boston, MA 02111-1307 USA * - * $Id: tomoe-recognizer-simple-logic.c,v 1.24 2006/11/24 06:20:01 ikezoe Exp $ + * $Id: tomoe-recognizer-simple-logic.c,v 1.25 2006/11/24 07:03:09 ikezoe Exp $ */ #include <stdlib.h> @@ -543,8 +543,8 @@ d4 = dist_tomoe_points (pi, pw); /* threshold is (angle of bigining line) % 45[degree] (PI/4)*/ - if (d1 > LIMIT_LENGTH && - d2 > LIMIT_LENGTH && + if (d3 > LIMIT_LENGTH && + d4 > LIMIT_LENGTH && abs (d_met[0].angle - i_met[0].angle) > M_PI_4) { free (d_met); continue;