Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MyGUI/mygui
/ shoelace
Function
shoelace
MyGUIEngine/src/msdfgen/core/Contour.cpp:8–10 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
6
namespace msdfgen {
7
8
static double shoelace(const Point2 &a, const Point2 &b) {
9
return (b.x-a.x)*(a.y+b.y);
10
}
11
12
void Contour::addEdge(const EdgeHolder &edge) {
13
edges.push_back(edge);
Callers
1
winding
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected