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 dac118a commit 429ee9aCopy full SHA for 429ee9a
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