From b8925d5e364e858cd52b847c9a094b09c7c46f02 Mon Sep 17 00:00:00 2001 From: lecoanet Date: Mon, 12 Nov 2001 09:47:20 +0000 Subject: La routine IntersectLines donnait des resultats mal arrondis � cause de l'utilisation de flottants en valeurs interm�diaires. L'utilisation d'entiers a r�tabli la situation. --- generic/Geo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'generic/Geo.c') diff --git a/generic/Geo.c b/generic/Geo.c index c07d2f5..811b4a8 100644 --- a/generic/Geo.c +++ b/generic/Geo.c @@ -600,7 +600,7 @@ IntersectLines(ZnPoint *a1, ZnPoint *b2, ZnPoint *pi) { - ZnReal dxadyb, dxbdya, dxadxb, dyadyb, p, q; + int dxadyb, dxbdya, dxadxb, dyadyb, p, q; dxadyb = (a2->x - a1->x)*(b2->y - b1->y); dxbdya = (b2->x - b1->x)*(a2->y - a1->y); -- cgit v1.1