Skip to content

Commit 1bdf870

Browse files
committed
Moved template up a line to fit parameters on one line
1 parent 59f8511 commit 1bdf870

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/geometry/SegmentIntersection.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ Products of three coordinates are used in intermediate steps so watch out for ov
2424
#include "Point.h"
2525
#include "onSegment.h"
2626

27-
template <class P> bool segInterProper(P a, P b, P c, P d,
28-
P &out) {
27+
template <class P>
28+
bool segInterProper(P a, P b, P c, P d, P &out) {
2929
double oa = c.cross(d, a), ob = c.cross(d, b),
3030
oc = a.cross(b, c), od = a.cross(b, d);
3131
if (sgn(oa) * sgn(ob) < 0 && sgn(oc) * sgn(od) < 0) {

0 commit comments

Comments
 (0)