Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
godotengine
GitHub Repository: godotengine/godot
Path: blob/master/thirdparty/msdfgen/core/convergent-curve-ordering.h
14710 views
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
}
12
13