0.2.0-dev Download ZIP
11 lines ·381 B Raw
| 1 | |
| 2 | #pragma once |
| 3 | |
| 4 | #include "edge-segments.h" |
| 5 | |
| 6 | namespace msdfgen { |
| 7 | |
| 8 | /// For curves a, b converging at P = a->point(1) = b->point(0) with the same (opposite) direction, determines the relative ordering in which they exit P (i.e. whether a is to the left or right of b at the smallest positive radius around P) |
| 9 | int convergentCurveOrdering(const EdgeSegment *a, const EdgeSegment *b); |
| 10 | |
| 11 | } |