We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7a8157 commit ba9395dCopy full SHA for ba9395d
content/geometry/SegmentIntersection.h
@@ -25,7 +25,7 @@ Products of three coordinates are used in intermediate steps so watch out for ov
25
#include "onSegment.h"
26
27
template <class P>
28
-bool segInterProper(P a, P b, P c, P d, P &out) {
+bool segInterProper(P a, P b, P c, P d, P& out) {
29
double oa = c.cross(d, a), ob = c.cross(d, b),
30
oc = a.cross(b, c), od = a.cross(b, d);
31
if (sgn(oa) * sgn(ob) < 0 && sgn(oc) * sgn(od) < 0) {
0 commit comments