Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MyGUI/mygui
/ direction
Method
direction
MyGUIEngine/src/msdfgen/core/edge-segments.cpp:121–123 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
119
}
120
121
Vector2 LinearSegment::direction(double param) const {
122
return p[1]-p[0];
123
}
124
125
Vector2 QuadraticSegment::direction(double param) const {
126
Vector2 tangent = mix(p[1]-p[0], p[2]-p[1], param);
Callers
7
addEdge
Method · 0.80
boundMiters
Method · 0.80
normalize
Method · 0.80
edgeColoringSimple
Function · 0.80
edgeColoringInkTrap
Function · 0.80
edgeColoringByDistance
Function · 0.80
pruneCrossedQuadrilaterals
Function · 0.80
Calls
1
mix
Function · 0.85
Tested by
no test coverage detected