File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * $Header: /cvsroot/pgsql/src/test/regress/regress.c,v 1.6 1997/04/22 17:33:00 scrappy Exp $
2
+ * $Header: /cvsroot/pgsql/src/test/regress/regress.c,v 1.7 1997/07/29 16:21:12 thomas Exp $
3
3
*/
4
4
5
5
#include <float.h> /* faked on sunos */
@@ -128,7 +128,9 @@ interpt_pp(p1,p2)
128
128
Point * retval ;
129
129
int i ,j ;
130
130
LSEG seg1 , seg2 ;
131
+ #if FALSE
131
132
LINE * ln ;
133
+ #endif
132
134
bool found ; /* We've found the intersection */
133
135
134
136
found = false; /* Haven't found it yet */
@@ -141,8 +143,11 @@ interpt_pp(p1,p2)
141
143
if (lseg_intersect (& seg1 , & seg2 )) found = true;
142
144
}
143
145
146
+ #if FALSE
144
147
ln = line_construct_pp (& seg2 .p [0 ], & seg2 .p [1 ]);
145
148
retval = interpt_sl (& seg1 , ln );
149
+ #endif
150
+ retval = lseg_interpt ( & seg1 , & seg2 );
146
151
147
152
return (retval );
148
153
}
You can’t perform that action at this time.
0 commit comments