MCPcopy
hub / github.com/Lightricks/ComfyUI-LTXVideo / dist

Function dist

web/js/sparse_track_editor.js:73–75  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

71// ---------------------------------------------------------------------------
72
73function dist(a, b) {
74 return Math.hypot(a.x - b.x, a.y - b.y);
75}
76
77function hideWidget(w) {
78 if (!w) return;

Callers 2

closestSegmentFunction · 0.85
hitTestPointFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected